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?