Database Error

Error: SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'viswabha_werindia_new.A1.image_path' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

SQL Query: SELECT A1.image_path,A1.image_id,A1.name,A2.feed_url,A2.pub_date,A2.feed_source_id, A2.feed_id,A2.category_id,A2.feed_title,A2.feed_description FROM feed_details A2 LEFT OUTER JOIN feed_images A1 ON A1.feed_id = A2.feed_id where A2.category_id=150 || A2.extra_category_1=150 || A2.extra_category_2=150 || A2.extra_category_3=150 || A2.extra_category_4=150 || A2.extra_category_5=150 GROUP BY A2.feed_title ORDER BY A2.pub_date DESC LIMIT 0,50

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 502PDOStatement->execute(array)
  • CORE/Cake/Model/Datasource/DboSource.php line 468DboSource->_execute(string, array)
  • CORE/Cake/Model/Datasource/DboSource.php line 715DboSource->execute(string, array, array)
  • CORE/Cake/Model/Datasource/DboSource.php line 641DboSource->fetchAll(string, array)
  • CORE/Cake/Model/Model.php line 3476DboSource->query(string, boolean)
  • APP/Controller/BusinessController.php line 160Model->query(string)
  • [internal function]BusinessController->market()
  • CORE/Cake/Controller/Controller.php line 499ReflectionMethod->invokeArgs(BusinessController, array)
  • CORE/Cake/Routing/Dispatcher.php line 193Controller->invokeAction(CakeRequest)
  • CORE/Cake/Routing/Dispatcher.php line 167Dispatcher->_invoke(BusinessController, CakeRequest)
  • APP/webroot/index.php line 117Dispatcher->dispatch(CakeRequest, CakeResponse)
Errors

Fatal Error

Error: Uncaught Error: Call to a member function close() on boolean in /home/viswabharat/public_html/werindia/app/View/Elements/rightside-bar.ctp:64 Stack trace: #0 /home/viswabharat/public_html/werindia/lib/Cake/View/View.php(971): include() #1 /home/viswabharat/public_html/werindia/lib/Cake/View/View.php(933): View->_evaluate('/home/viswabhar...', Array) #2 /home/viswabharat/public_html/werindia/lib/Cake/View/View.php(1224): View->_render('/home/viswabhar...', Array) #3 /home/viswabharat/public_html/werindia/lib/Cake/View/View.php(418): View->_renderElement('/home/viswabhar...', Array, Array) #4 /home/viswabharat/public_html/werindia/app/View/Layouts/error.ctp(89): View->element('rightside-bar') #5 /home/viswabharat/public_html/werindia/lib/Cake/View/View.php(971): include('/home/viswabhar...') #6 /home/viswabharat/public_html/werindia/lib/Cake/View/View.php(933): View->_evaluate('/home/viswabhar...', Array) #7 /home/viswabharat/public_html/werindia/lib/Cake/View/View.php(546): View->_render('/home/viswabhar...')
File: /home/viswabharat/public_html/werindia/app/View/Elements/rightside-bar.ctp
Line: 64

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