Call to a member function load() on a non-object when autoloading config files at CI3 |
Just a note..
in __construct() you should put at 1st line PHP Code: parent::__construct(); Else you are not preloading parent constructor > https://github.com/bcit-ci/CodeIgniter/b...er.php#L66 and inside it you have some very important things ![]() All classes including config are loaded there.. You can't access it if you haven't call parent construct 1st.. Best VPS Hosting : Digital Ocean
|
Welcome Guest, Not a member yet? Register Sign In |