Verifique se a tabela market_offers existe.
Erro: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'code' in 'SELECT'