Call to a member function real_escape_string() on null |
I'm facing this error in my model function:
Code: An uncaught Exception was encountered This is the function: PHP Code: public function getCompanyMessages($idCompany) The line 125 is PHP Code: $this->db->where($where); So I wrote an echo(var_export($where, true)); before this to get the content of $where array, and the content is just this: Code: array ( Why am I having this error and how to solve it? My environment is:
PHP Code: $active_group = 'default'; |
Messages In This Thread |
Call to a member function real_escape_string() on null - by thiago.bittencourt - 05-29-2018, 09:54 AM
RE: Call to a member function real_esp - by php_rocs - 05-29-2018, 12:36 PM
RE: Call to a member function real_esp - by thiago.bittencourt - 05-30-2018, 02:04 PM
|