Database Error

Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Participant.chorale' in 'where clause'

SQL Query: SELECT `Participant`.`id_participant`, `Participant`.`participant`, `Participant`.`id_maison`, `Participant`.`info`, `Participant`.`texte`, `Participant`.`photo`, `Participant`.`ext`, `Participant`.`check`, `Maison`.`id_maison`, `Maison`.`maison`, `Maison`.`info`, `Maison`.`carte_x`, `Maison`.`carte_y`, `Maison`.`ordre`, `Maison`.`numero` FROM `ID125486_orb1`.`participants_2019` AS `Participant` LEFT JOIN `ID125486_orb1`.`maisons_2019` AS `Maison` ON (`Participant`.`id_maison` = `Maison`.`id_maison`) WHERE `Participant`.`chorale` = 1 ORDER BY `Participant`.`participant` ASC

Notice: If you want to customize this error message, create app/View/Errors/pdo_error.ctp

Stack Trace

  • CORE/Cake/Model/Datasource/DboSource.php line 459PDOStatement->execute(array)
  • CORE/Cake/Model/Datasource/DboSource.php line 425DboSource->_execute(string, array)
  • CORE/Cake/Model/Datasource/DboSource.php line 669DboSource->execute(string, array, array)
  • CORE/Cake/Model/Datasource/DboSource.php line 1080DboSource->fetchAll(string, boolean)
  • CORE/Cake/Model/Model.php line 2637DboSource->read(Participant, array)
  • APP/Controller/ParticipantsController.php line 46Model->find(string, array)
  • [internal function]ParticipantsController->chorale()
  • CORE/Cake/Controller/Controller.php line 485ReflectionMethod->invokeArgs(ParticipantsController, array)
  • CORE/Cake/Routing/Dispatcher.php line 186Controller->invokeAction(CakeRequest)
  • CORE/Cake/Routing/Dispatcher.php line 161Dispatcher->_invoke(ParticipantsController, CakeRequest, CakeResponse)
  • APP/webroot/index.php line 92Dispatcher->dispatch(CakeRequest, CakeResponse)
logo