I am getting the following error: Warning: Creating default object from empty value in theme556_preprocess_html() (line 31 of /home/justinhartman/hartmanshaven.org/sites/all/themes/theme556/template.php).

However, I have been unable to find a patch or anything from template-help.com / templatemonster.com and not sure what I should add/delete to the PHP file.

Thanks!

Justin

Comments

Red Sky Tom’s picture

I can't really say why it is happening but I see that the message is appearing on your site. Usually on a production site I go to the configuration, logging and errors and select none so visitors will not have to see the Warning. You can find out more about this type of error here http://stackoverflow.com/questions/8900701/creating-default-object-from-...

Cheers,

Drupal Development and Consulting.

justinmhartman’s picture

Thank you so much! As a non-profit with only volunteers I try to learn Drupal as I go due to being an OSS fan. That worked and I appreciate your reply!

VM’s picture

Support for a purchased theme should be sought out from the vendor. However, it may aid to pastebin.com the entirety of the preprocess function throwing the error.

justinmhartman’s picture

They will not help or support any issues due to as us being a non-profit I requested them to offer the theme as a sponsorship agreement. Thank you for your reply, I do appreciate it.