• Primetime Glam

    (@primetime-glam)


    I tried to log in my website today but I could not because the site had crashed. I only got this message stating a fatal error. I use the Whimsy framework.

    I contacted Hostgator they told me that the problem was the theme Whimsy, and the person I talked to asked me to see if an update was needed. He changed the theme temporarily to the Twenty Thirteen.

    I updated some plugins and I deleted the theme and installed it again. Now I cannot see any of the pictures of the posts, only the text and what is worst I get this message at the top of my website:

    Warning: Creating default object from empty value in /home4/primetim/public_html/wp-content/themes/whimsy-framework/inc/hooks.php on line 163

    Can someone please help me fix this? I really appreciate it!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi! I’m the developer for Whimsy, and I’m so sorry this update went so terribly!

    Could you open up /whimsy-framework/inc/hooks.php and search for:

    global $whimsy;

    and directly below that add this line:

    $whimsy = new stdClass();

    If this doesn’t resolve the issues I’ll need to know the version of PHP that hostgator is running so that I can troubleshoot further. Again, my apologies for bumpy update. 🙁

    Thread Starter Primetime Glam

    (@primetime-glam)

    Thanks Natasha! I’m sorry I did not answer before but I had to change themes to the “Twenty Thirteen” theme. I was trying to add the line you told me but I am not a web developer so I do not know where to look for the line you asked me to find to add the text below to begin with. I’m so sorry.
    I really would like to change back to the Whimsy theme.
    Would you please tell me where do I have to go to look for the line?
    Thanks for your hard work!!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Warning: Creating default object from empty value’ is closed to new replies.