• Widget logic has been causing 500 errors to appear for bots (Google Webmaster Tools specifically) for several weeks.

    From server error log:

    [Thu Jan 23 20:53:17 2014] [error] [client 50.192.200.129] PHP Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /nas/wp/www/cluster-2010/chlaw/wp-content/plugins/widget-logic/widget_logic.php(286) : eval()’d code on line 4

    When I disabled the plugin that all went away and everything worked perfectly, so I know it’s the plugin. But I’m not sure what exactly within the plugin is causing this.

    It’s been happening since shortly after upgrading to 3.8 (as far as I can tell in error logs and in GWT).

    Any ideas?

    https://www.ads-software.com/plugins/widget-logic/

Viewing 3 replies - 1 through 3 (of 3 total)
  • you have some logic in one of your widgets that’s not right. check through each of your widgets – it’s probably a missing bracket or something.

    one method would be to save out your WL config, and blank the widgets one by one until the error goes. then you can restore the config and so on.

    Thread Starter DustinNay

    (@dustinnay)

    Ah, okay. So just use the export feature to create a backup then add them back in one by one.

    I’ll give that a try. I didn’t actually write all the logic stuff (I’m the SEO guy/manager, not a dev). I think I can handle troubleshooting this now that I have a direction.

    I’ll report back if for some reason I can’t figure out. Thanks for the speedy reply.

    Cheers.

    note to self: add a FAQ something like
    I get an error like “PHP Parse error: syntax error… eval()’d code on line X” that goes away when I deactivate Widget Logic. How to fix it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP 3.8 conflict? Something else. 500 error’ is closed to new replies.