CodeIgniter Forums
A PHP Error was encountered - 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: A PHP Error was encountered (/showthread.php?tid=61067)



A PHP Error was encountered - El Forum - 09-10-2014

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

Severity: Warning

Message: Creating default object from empty value

Filename: models/themes_m.php

Line Number: 142

Can anyone could help to get rid of this message. Thank you.

Regards,
Sam


A PHP Error was encountered - El Forum - 09-11-2014

[eluser]Tpojka[/eluser]
Maybe if you post model and controller code, you would get your answer. Nobody here is psychic.


A PHP Error was encountered - El Forum - 09-12-2014

[eluser]Unknown[/eluser]
Fatal error: Call to undefined method CI_Hooks::_call_hook() in /home3/assl2005/public_html/1stsecure.ca/system/cms/core/MY_Controller.php on line 131

Sorry, I am not familiar with CMS, here is the message I am getting when uploaded the files.

Regards,
Sam


A PHP Error was encountered - El Forum - 09-13-2014

[eluser]Tpojka[/eluser]
Do you know why do you upload those files?
There shouldn't be folder CMS in system folder.
Is that pure CodeIgniter or some other application that is built on CI framework?
This is very different bug than one described in OP.
This way I doubt someone can help.
What was with bugs in model themes_m.php?


A PHP Error was encountered - El Forum - 09-13-2014

[eluser]InsiteFX[/eluser]
A MY_Controller goes in ./application/core nothing should go into the ./system folder