Jump to content


Photo
Hooker

Using Hooker on WP Engine Hosted Site Turns Site Blank

hooker wpengine blank site

Best Answer Simon_P , 19 March 2013 - 11:37 PM

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

Go to the full post


  • Please log in to reply
4 replies to this topic

#1 dawsonbarber

dawsonbarber

    Super Member

  • Members

  • 148 posts

Posted 19 March 2013 - 08:51 PM

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?



#2 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 19 March 2013 - 11:19 PM

Do you have the adminbar disabled for your user?



#3 dawsonbarber

dawsonbarber

    Super Member

  • Members

  • 148 posts

Posted 19 March 2013 - 11:34 PM

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



#4 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 19 March 2013 - 11:37 PM   Best Answer

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



#5 dawsonbarber

dawsonbarber

    Super Member

  • Members

  • 148 posts

Posted 19 March 2013 - 11:58 PM

cool, thanks, Simon.







Also tagged with one or more of these keywords: Hooker, hooker, wpengine, blank site