Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By justinmhartman on
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
Warning?
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.
Thank you!
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!
=-=
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.
Theme
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.