![]() |
Call to a member function result_array() on boolean - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Call to a member function result_array() on boolean (/showthread.php?tid=66321) |
Call to a member function result_array() on boolean - davy_yg - 10-07-2016 Hello, I am having problem with this error message. Can anyone help me fix this error message? Fatal error: Call to a member function result_array() on boolean in C:\Program Files\EasyPHP-Devserver-16.1\eds-www\companygiondaci\application\models\Mpages.php on line 92 A PHP Error was encountered Severity: Error Message: Call to a member function result_array() on boolean Filename: models/Mpages.php Line Number: 92 Backtrace: models/Mpages.php Line 92: return $query->result_array(); models/Mpages.php PHP Code: public function update_pages($pages_id) controllers/Cpages.php PHP Code: public function pcategories() { RE: Call to a member function result_array() on boolean - ciadmin - 10-07-2016 Let me read the manual for you ... $this->db->update returns a boolean See http://www.codeigniter.com/user_guide/database/query_builder.html#CI_DB_query_builder::update It seems like this is at least the third time you have asked the same question! RE: Call to a member function result_array() on boolean - InsiteFX - 10-08-2016 Or more |