Exception information:

Message: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

Stack trace:

#0 /home/developpez/www/developpez-com/upload/magazine/library/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/developpez/www/developpez-com/upload/magazine/library/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Statement->execute(Array)
#2 /home/developpez/www/developpez-com/upload/magazine/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT * FROM m...', Array)
#3 /home/developpez/www/developpez-com/upload/magazine/library/Zend/Db/Adapter/Abstract.php(706): Zend_Db_Adapter_Pdo_Abstract->query('SELECT * FROM m...', Array)
#4 /home/developpez/www/developpez-com/upload/magazine/application/modules/default/models/Rubriques.php(75): Zend_Db_Adapter_Abstract->fetchAll('SELECT * FROM m...')
#5 /home/developpez/www/developpez-com/upload/magazine/application/modules/default/models/Rubriques.php(102): Rubriques->getListIdRubPartner(NULL, 0, Array)
#6 /home/developpez/www/developpez-com/upload/magazine/application/modules/default/models/Magazine.php(95): Rubriques->getListIdRubForCodeGabarie(131)
#7 /home/developpez/www/developpez-com/upload/magazine/application/modules/widget/controllers/RubriqueController.php(42): Magazine->getLastMagazineRub(131)
#8 /home/developpez/www/developpez-com/upload/magazine/library/Zend/Controller/Action.php(513): Widget_RubriqueController->indexAction()
#9 /home/developpez/www/developpez-com/upload/magazine/library/Zend/Controller/Dispatcher/Standard.php(289): Zend_Controller_Action->dispatch('indexAction')
#10 /home/developpez/www/developpez-com/upload/magazine/library/Zend/Controller/Front.php(946): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#11 /home/developpez/www/developpez-com/upload/magazine/library/Zend/Application/Bootstrap/Bootstrap.php(77): Zend_Controller_Front->dispatch()
#12 /home/developpez/www/developpez-com/upload/magazine/library/Zend/Application.php(358): Zend_Application_Bootstrap_Bootstrap->run()
#13 /home/developpez/www/developpez-com/upload/magazine/application/bootstrap.php(57): Zend_Application->run()
#14 /home/developpez/www/developpez-com/upload/magazine/index.php(11): require_once('/home/developpe...')
#15 {main}

Request Parameters:

array(4) {
  ["module"]=>
  string(6) "widget"
  ["controller"]=>
  string(8) "rubrique"
  ["action"]=>
  string(5) "index"
  ["idRub"]=>
  string(3) "131"
}