CodeIgniter Forums
"Call to undefined method stdClass" - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: "Call to undefined method stdClass" (/showthread.php?tid=13905)



"Call to undefined method stdClass" - El Forum - 12-11-2008

[eluser]picklepete[/eluser]
Hello.

I'm currently doing some work on my site, allowing only certain elements of a page to be visible if the visitor is logged in. Nothing particularly difficult, just isset-ing variables.

Out of nowhere, I've gotten this error:

Quote:Fatal error: Call to undefined method stdClass::_assign_libraries() in /home/username/public_html/system/libraries/Loader.php on line 982

It only seems to show on one area of the site, and I can't pin what makes it so unique to that controller. I assume it had something to do with the fact I'm using regular php sessions, not CI ones.

Any ideas?


"Call to undefined method stdClass" - El Forum - 12-11-2008

[eluser]picklepete[/eluser]
If it's any help, I noticed if I clear my cookies, then suddenly the error is gone.


"Call to undefined method stdClass" - El Forum - 12-11-2008

[eluser]picklepete[/eluser]
Problem solved after much pain... sorry about the spam!