• Resolved Rainbow

    (@adi-admin)


    After the update – all my in-page widgets across my site are all messed up.

    I get them all replaced with a message:

    Parse error: syntax error, unexpected: (the files leading to widget logic within my Cpanel) eval()’d code on line 2 (some widgets relate to line 1).

    What’s going on? – Anyone else having issues?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Rainbow

    (@adi-admin)

    Parse error: syntax error, unexpected ‘pmpro_hasMembershipLevel’ (T_STRING) in /…/…/…/wp-content/plugins/widget-logic/widget_logic.php(369) : eval()’d code on line 2

    Snippet (that worked well in last version, and provided to me by the engineers of Paid Memberships Pro): pmpro_hasMembershipLevel() == 1 && pmpro_hasMembershipLevel() == 2

    ___

    It is to hide widgets away from not-logged in users.

    It seems that this is the only upset.

    Any ideas?

    Thread Starter Rainbow

    (@adi-admin)

    Thanks for getting back to me on this,

    I did this, i had the two check boxes checked and loaded the widget logic for each one, refreshing the screen and seeing if it resolves the issue.

    Unfortunately it didn’t have much of an effect. The only difference was with the after theme loads – of which put the Parse error: syntax error, message at the top of my screen multiple times.

    Any other suggestions? 🙁

    Thread Starter Rainbow

    (@adi-admin)

    Maybe it’s an option to have the previous version back if it doesn’t cause any issues?

    Thread Starter Rainbow

    (@adi-admin)

    Perfect,

    All is restored.

    Thank you for fixing the update bugs!!

    Rainbow

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Parse error: syntax error,’ is closed to new replies.