Archived

This topic is now archived and is closed to further replies.

  • 0

Wp Errors Suddenly: Warning: Creating Default Object From Empty Value In /homepages/5/d365318221/htdocs/wp-Content/themes/platformpro/core/library/cla


Question

Posted · Report post

My site suddenly has a whole slew of errors at the top of the page and they all look like this:

 

Warning: Creating default object from empty value in /homepages/5/d365318221/htdocs/wp-content/themes/platformpro/core/library/class.layout.php on line 164

 

with different pages and php doc being affected. 

 

Originally there was an error saying the site needed to upgrade to php5 since the server was using php4 so I upgraded then got these errors. Any ideas?

Share this post


Link to post
Share on other sites

5 answers to this question

Posted · Report post

Hmmm. I talked to the hosting service and seems the were doing something with the upgrade of php. I think it's magically fixed now... Thanks Simon for your help!

Share this post


Link to post
Share on other sites

Posted · Report post

Turn debugging off, should be off by default on all servers.

Share this post


Link to post
Share on other sites

Posted · Report post

Sorry, how do I turn debugging off?

Share this post


Link to post
Share on other sites

Posted · Report post

Well that depends on your host.

Sometimes its as easy as adding something to .htaccess file, but you need to ask them as it should be off by default.

Share this post


Link to post
Share on other sites