Archived

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

  • 0

Hooker Using Hooker on WP Engine Hosted Site Turns Site Blank


Question

Posted · Report post

I just installed Hooker on a site using the Base child theme and, after activating it and navigating to the front end of the site, I saw that it went blank.

 

The backend was fine so I deactivated Hooker and the front-end of the site returned to normal.

 

I deactivated all plugins, reactivated Hooker, and the front-end of the site went blank again.

 

It's hosted on WP Engine, which comes with a staging area that basically disables their caching and their optimization technology.

 

I've tested it on a staging area for the site, with all plugins disabled except Hooker, and get a mostly blank page on the front-end with the following message (that I wasn't seeing on the live site):

 

 Fatal error: Call to a member function add_menu() on a non-object in /nas/wp/www/staging/dawsonsites/wp-content/plugins/hooker/hooker.php on line 44

I've tried switching from the Base theme to Pagelines, but there's no change.

 

I'm all out of ideas.

 

Any suggestions?

Share this post


Link to post
Share on other sites

4 answers to this question

Posted · Report post

I'll release a fix ;) leave this topic unsolved to remind me :)

Share this post


Link to post
Share on other sites

Posted · Report post

Do you have the adminbar disabled for your user?

Share this post


Link to post
Share on other sites

Posted · Report post

Hi Simon

 

Yes it was disabled. Reading between the lines, I enabled it and have activated Hooker and the "blank page" problem appears to have been solved.

 

Is there anything else that I need to do - or is the problem solved?

 

Cheers

Share this post


Link to post
Share on other sites

Posted · Report post

cool, thanks, Simon.

Share this post


Link to post
Share on other sites