CodeIgniter Forums
how to solve this one - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: how to solve this one (/showthread.php?tid=15572)



how to solve this one - El Forum - 02-09-2009

[eluser]ganesh_tavva[/eluser]
A PHP Error was encountered

Severity: Notice

Message: Undefined property: CI_Loader::$load

Filename: config/autoload.php

Line Number: 43


how to solve this one - El Forum - 02-09-2009

[eluser]Colin Williams[/eluser]
Most likely you're trying to do $this->load->{something} outside of the context of a controller or model class. To be sure you have an instance of the CI class, use get_instance()


how to solve this one - El Forum - 02-09-2009

[eluser]TheFuzzy0ne[/eluser]
This problem usually appears when people try to access the CodeIgniter methods from within an error page.