Notice (8): Undefined index: slug [APP/Plugin/SeeAlso/Controller/Component/SuggestComponent.php, line 5]
Notice (8): Undefined index: Node [APP/Plugin/SeeAlso/Controller/Component/SuggestComponent.php, line 8]
Errors
Мы разрабатываем системы автоматизации и эксклюзивные программные комплексы для повышения эффективности работы предприятий и качества обслуживания клиентов

Database Error

Error: 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 '= (NULL) ORDER BY `weight` desc LIMIT 3' at line 1

SQL Query: SELECT `SeeAlso`.`id`, `SeeAlso`.`node_id`, `SeeAlso`.`suggested_node_id`, `SeeAlso`.`weight`, `SuggestedNode`.`id`, `SuggestedNode`.`parent_id`, `SuggestedNode`.`user_id`, `SuggestedNode`.`title`, `SuggestedNode`.`slug`, `SuggestedNode`.`body`, `SuggestedNode`.`excerpt`, `SuggestedNode`.`status`, `SuggestedNode`.`mime_type`, `SuggestedNode`.`comment_status`, `SuggestedNode`.`comment_count`, `SuggestedNode`.`promote`, `SuggestedNode`.`path`, `SuggestedNode`.`terms`, `SuggestedNode`.`sticky`, `SuggestedNode`.`lft`, `SuggestedNode`.`rght`, `SuggestedNode`.`visibility_roles`, `SuggestedNode`.`type`, `SuggestedNode`.`updated`, `SuggestedNode`.`created`, `Node`.`id`, `Node`.`parent_id`, `Node`.`user_id`, `Node`.`title`, `Node`.`slug`, `Node`.`body`, `Node`.`excerpt`, `Node`.`status`, `Node`.`mime_type`, `Node`.`comment_status`, `Node`.`comment_count`, `Node`.`promote`, `Node`.`path`, `Node`.`terms`, `Node`.`sticky`, `Node`.`lft`, `Node`.`rght`, `Node`.`visibility_roles`, `Node`.`type`, `Node`.`updated`, `Node`.`created` FROM `is2b`.`see_alsos` AS `SeeAlso` LEFT JOIN `is2b`.`nodes` AS `SuggestedNode` ON (`SeeAlso`.`suggested_node_id` = `SuggestedNode`.`id`) LEFT JOIN `is2b`.`nodes` AS `Node` ON (`SeeAlso`.`node_id` = `Node`.`id`) WHERE `node_id` IS NULL AND suggested_node_id not = (NULL) ORDER BY `weight` desc LIMIT 3

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

Stack Trace

  • APP/Vendor/cakephp/cakephp/lib/Cake/Model/Datasource/DboSource.php line 470PDOStatement->execute(array)
  • APP/Vendor/cakephp/cakephp/lib/Cake/Model/Datasource/DboSource.php line 436DboSource->_execute(string, array)
  • APP/Vendor/cakephp/cakephp/lib/Cake/Model/Datasource/DboSource.php line 673DboSource->execute(string, array, array)
  • APP/Vendor/cakephp/cakephp/lib/Cake/Model/Datasource/DboSource.php line 1184DboSource->fetchAll(string, array)
  • APP/Vendor/cakephp/cakephp/lib/Cake/Model/Model.php line 3038DboSource->read(SeeAlso, array)
  • APP/Vendor/cakephp/cakephp/lib/Cake/Model/Model.php line 3010Model->_readDataSource(string, array)
  • APP/Plugin/SeeAlso/Controller/Component/SuggestComponent.php line 22Model->find(string, array)
  • APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php line 128SuggestComponent->beforeRender(NodesController)
  • APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php line 243ObjectCollection->trigger(string)
  • APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php line 936CakeEventManager->dispatch(CakeEvent)
  • APP/Vendor/croogo/croogo/Croogo/Controller/CroogoAppController.php line 360Controller->render(null, null)
  • APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php line 200CroogoAppController->render()
  • APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php line 167Dispatcher->_invoke(NodesController, CakeRequest)
  • APP/webroot/index.php line 105Dispatcher->dispatch(CakeRequest, CakeResponse)