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/Offer.php(1094): Offer::getListFromDB(Object(MyPDO), 'where categoryI...') #3 /var/www/megaleilao.wtennis.com.br/megaleilao4.6_ult/class/Action/Category.php(99): Offer::getListForThisParent(Object(MyPDO), '74', true, false) #4 /var/www/megaleilao.wtennis.com.br/megaleilao4.6_ult/class/Core/Action.php(168): Action_Category->defaultAction() #5 /var/www/megaleilao.wtennis.com.br/megaleilao4.6_ult/class/Core/Controller.php(242): Core_Action->run() #6 /var/www/megaleilao.wtennis.com.br/megaleilao4.6_ult/index.php(143): Core_Controller->run() #7 {main}