Support » Plugin: Widget Logic » Error after Widget Logic upgrade

  • Resolved Meginoz

    (@meginoz)


    I’ve just upgraded the Widget Logic plugin on my local test site, and am seeing this error at the top of each page, and everywhere a widget should be:

    Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING in C:\xampp\htdocs\megansweb2012\wp-content\plugins\widget-logic\widget_logic.php(284) : eval()'d code on line 1

    I’m guessing it’s something to do with the following item in the Change Log, but it’s a bit above my head what this means.

    Added a ‘widget_logic_eval_override’ filter. This allows advanced users to bypass EVAL with a function of their own.

    Any idea what this error means, and how I can fix it?
    http://wordpress.org/extend/plugins/widget-logic/

Viewing 5 replies - 31 through 35 (of 35 total)
  • Plugin Contributor alanft

    (@alanft)

    *ahem* it appears I accidentally left it out when I rewrote the code for that new filter 🙁

    Right then…

    PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING in /home/public_html/wp-content/plugins/widget-logic/widget_logic.php(284) : eval()’d code on line 1

    I’ve been getting this error constantly, replacing the plugin with the one you posted earlier fixed it.

    Plugin Contributor alanft

    (@alanft)

    right, well I’ve gone and committed 0.55 as the stable version – this restores the missing stripslashes, and adds a spanish translation.

    Fingers crossed…

    Thanks for fixing that … completely stopped working on my site after updating to yesterday’s release. Seems OK at first look with 0.55. Nice to have all my custom sidebar content back.

    Cheers!

    Just updated to 0.55 – everything looks A-OK. Thank you for fixing so quickly!

Viewing 5 replies - 31 through 35 (of 35 total)
  • The topic ‘Error after Widget Logic upgrade’ is closed to new replies.