• Resolved G3nh4ck

    (@g3nh4ck)


    Hi,

    I have seen multiples php parse error in the file error_log :

    [13-Oct-2017 18:37:49 UTC] PHP Parse error: syntax error, unexpected ‘!’ in /home/………../……./……../wp-content/plugins/widget-logic/widget_logic.php(463) : eval()’d code on line 1

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author WPChef

    (@wpchefgadget)

    Hi G3nh4ck,

    Most likely you have an error in the logic. This is why the warning gets into the error log. Can you paste the logic code you use on your site with the WL plugin here?

    [ Signature deleted ]

    • This reply was modified 6 years, 3 months ago by Jan Dembowski.
    Thread Starter G3nh4ck

    (@g3nh4ck)

    Hi, I’m using almost 30 widgets, so is embarrasing to past all codes here… Is it possible to find easy the error in the logic? Something like know which logic has the error?

    Plugin Author WPChef

    (@wpchefgadget)

    Hi G3nh4ck,

    Yes, you can use the “Display logic errors to admin” option for that. With this option turned on the admin (and nobody else) will see the errors (if any) next to the widgets at the front-end.

    [ Signature deleted ]

    • This reply was modified 6 years, 3 months ago by Jan Dembowski.

    Thanks for your advice @wpchef !!

    Finally I could fix that issue and everything is working pretty well now ??

    Plugin Author WPChef

    (@wpchefgadget)

    Hi G3nh4ck,

    You are welcome! ??

    [ Signature deleted ]

    • This reply was modified 6 years, 3 months ago by Jan Dembowski.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP Parse error: syntax error’ is closed to new replies.