• Resolved msim2

    (@msim2)


    Getting this error in my PHP logs:

    PHP Parse error: syntax error, unexpected ‘;’ in /mnt/stor09-wc1-ord1/775967/798572/neighborhood.mp.com/web/content/wp-content/plugins/widget-logic/widget_logic.php(286) : eval()’d code on line 1

    Widget Logic is affecting one of my other, main plugins called Ultimate Member. Whenever I deactivate Widget Logic, then everything works smoothly. So I assume the issue is this PHP Parse error. Any thoughts on this? Thanks

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Well I think the error pretty much tells you what is wrong.

    I’d guess your widget logic is something like
    is_page('somepage');
    where it should be
    is_page('somepage')

    without the ;
    The code gets eval’d.

    Thread Starter msim2

    (@msim2)

    Thank you for answering!!! That helped me figure out the issue. For some reason, I didn’t think to check the actual widgets (I was checking the plugin backend code). I found the culprit. One of my widget logic widgets had:

    is_page(’17’

    It was missing the closing )

    Thanks again!

    Cheers! Glad I could help you.

    Cheers! Glad I could help you.

    Thread Starter msim2

    (@msim2)

    ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP Parse Error – Help!’ is closed to new replies.