Closed karthikc386 closed 5 years ago
Hi @karthikc386 I'm sorry for the late response. Please try the following:
composer dump-autoload
$this->CI = &get_instance();
then assert that $this->CI
is not null by using the is_null()
function.Cheers.
I have the same error ! What's wrong?
I forget : parent::__construct(); in my controller.
Good thing you were able to figure it out @ArmandArthur
Hope others will learn from your comments
Thanks. I had the same issue @ArmandArthur.
It's the first time I am initiating the CodeIgniter instance in the vendor file
$this->CI = &get_instance(); It return null for me.
Let me know what I am missing here.