Database Error
Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Article.annee_publication' in 'order clause'
SQL Query: SELECT `Type`.`id`, `Type`.`nom_fr`, `Type`.`nom_innu`, `Type`.`media_id`, `Type`.`note_administrateur`, `Type`.`rendre_public`, `Media`.`id`, `Media`.`url`, `Media`.`path`, `Media`.`filename`, `Media`.`note_administrateur`, `Media`.`rendre_public` FROM `types` AS `Type` LEFT JOIN `media` AS `Media` ON (`Type`.`media_id` = `Media`.`id`) WHERE `Type`.`id` = '4edfc7e9-12b0-4c36-8fca-26894022e9f7' ORDER BY `Article`.`annee_publication` asc LIMIT 20
Notice: If you want to customize this error message, create app/View/Errors/pdo_error.ctp
Stack Trace
#0 /var/virtual/catalogue.tshakapesh.ca/webroot/htdocs/lib/Cake/Model/Datasource/DboSource.php(436): PDOStatement->execute(Array) #1 /var/virtual/catalogue.tshakapesh.ca/webroot/htdocs/lib/Cake/Model/Datasource/DboSource.php(403): DboSource->_execute('SELECT `Type`.`...', Array) #2 /var/virtual/catalogue.tshakapesh.ca/webroot/htdocs/lib/Cake/Model/Datasource/DboSource.php(647): DboSource->execute('SELECT `Type`.`...', Array, Array) #3 /var/virtual/catalogue.tshakapesh.ca/webroot/htdocs/lib/Cake/Model/Datasource/DboSource.php(1040): DboSource->fetchAll('SELECT `Type`.`...', false) #4 /var/virtual/catalogue.tshakapesh.ca/webroot/htdocs/lib/Cake/Model/Model.php(2460): DboSource->read(Object(Type), Array) #5 /var/virtual/catalogue.tshakapesh.ca/webroot/htdocs/lib/Cake/Controller/Component/PaginatorComponent.php(172): Model->find('all', Array) #6 /var/virtual/catalogue.tshakapesh.ca/webroot/htdocs/lib/Cake/Controller/Controller.php(1025): PaginatorComponent->paginate('Type', Array, Array) #7 /var/virtual/catalogue.tshakapesh.ca/webroot/htdocs/app/Controller/ArticlesController.php(227): Controller->paginate('Type', Array) #8 [internal function]: ArticlesController->par('Type', '4edfc7e9-12b0-4...', 'www.tshakapesh....') #9 /var/virtual/catalogue.tshakapesh.ca/webroot/htdocs/lib/Cake/Controller/Controller.php(473): ReflectionMethod->invokeArgs(Object(ArticlesController), Array) #10 /var/virtual/catalogue.tshakapesh.ca/webroot/htdocs/lib/Cake/Routing/Dispatcher.php(107): Controller->invokeAction(Object(CakeRequest)) #11 /var/virtual/catalogue.tshakapesh.ca/webroot/htdocs/lib/Cake/Routing/Dispatcher.php(89): Dispatcher->_invoke(Object(ArticlesController), Object(CakeRequest), Object(CakeResponse)) #12 /var/virtual/catalogue.tshakapesh.ca/webroot/htdocs/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse)) #13 {main}