SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'categoryId' in where clause is ambiguous
#0 /var/www/megaleilao.wtennis.com.br/megaleilao4.6_ult/class/DB.php(104): PDO->query('select offers.i...') #1 /var/www/megaleilao.wtennis.com.br/megaleilao4.6_ult/class/Offer.php(529): MyPDO->query('select offers.i...') #2 /var/www/megaleilao.wtennis.com.br/megaleilao4.6_ult/class/Action/Category.php(91): Offer::getListFromDB(Object(MyPDO), 'where category...') #3 /var/www/megaleilao.wtennis.com.br/megaleilao4.6_ult/class/Core/Action.php(168): Action_Category->defaultAction() #4 /var/www/megaleilao.wtennis.com.br/megaleilao4.6_ult/class/Core/Controller.php(242): Core_Action->run() #5 /var/www/megaleilao.wtennis.com.br/megaleilao4.6_ult/index.php(143): Core_Controller->run() #6 {main}