Hello Friends,
If you are facing the issue "Fatal error: Call to a member function get() on a non-object...." in Codelgniter. Please make the below changes to solve this issue.
Please open "codelgniter/application/config/autoload.php" and make the below changes:
You can see an entry like this
$autoload['libraries'] = array();
// Please make this change with array('database') as below;
$autoload['libraries'] = array('database');
Now error will be flush after this change
0 Comment(s)