Support » Plugin: Widget Logic » PHP Parse Error Line 286

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor alanft


    it’s not something insidious. somewhere you have widget logic code that’s got a syntax error in it – probably a stray or missing quote/single quote character

    Sounds good! Thanks alanft. Didn’t think it was anything to worry about but wanted to be sure I covered my bases.

    I have the same problem and I know what the problem is.
    I wrote a widget logic code wrong with the quote character.
    The problem I now have is that in the admin panel I can no longer “expand” the widget to access the widget logic field so I can change the code. I have never had this problem before and it just occurred combined with the wrong code input.
    What can I do? I tried to inactivate widget logic plugin and I can now expand the widgets but I really need that plugin.

    i have the same problem with wp 3.9 any ideas?


    When you go to that website, it will show up this error message in a bunch of lines:

    Parse error: syntax error, unexpected ‘)’ in /home/content/75/9721375/html/wp-content/plugins/widget-logic/widget_logic.php(286) : eval()’d code on line 2

    Please advise. Thanks.


    Plugin Contributor alanft


    @ andrewdaugdaug
    anything starting “Parse error” ending “eval()’d code on line X” is a problem with the syntax of the logic in one of your widgets

    I’m not seeing this problem in general, so not sure it is caused by WL. You can “enable accessibility mode” (under screen options) if there’s a javascript issue preventing you accessing widget controls “dynamically”. That should help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP Parse Error Line 286’ is closed to new replies.