WordPress.org

Ready to get started?Download WordPress

Forums

Widget Logic
Internal Server error (3 posts)

  1. tlogan
    Member
    Posted 10 months ago #

    I am getting the following error:

    <13>Sep 12 03:01:55 pioneer.wsynth.net www: PHP Parse error: syntax error, unexpected T_STRING in /var/www/pioneerclubs.org/wp-content/plugins/widget-logic/widget_logic.php(284) : eval()'d code on line 1

    It is also causing a Woocommerce plugin to not work. That plugin is Smart Manager which we use a lot to manage over 1000 products.

    http://wordpress.org/plugins/widget-logic/

  2. alanft
    Member
    Plugin Author

    Posted 10 months ago #

    you have some invalid code in the WL field of one of your widgets. try blanking/restoring them one at a time to see if you can locate it. (of course it might be MORE than one, so you could save out your config and blank them one at a time)

  3. Daniel J. Lewis
    Member
    Posted 8 months ago #

    I was having this same problem and alanft was right. It was some invalid code in one of my widgets.

    If you're unsure of which one, you could try my testing procedure.

    1. Remove all widgets that use Widget Logic.
    2. Enter your URL into http://web-sniffer.net/, select "POST", and Submit.
    3. Ensure you're receiving 200 OK instead of 500.
    4. Activate your widgets one at a time and repeat the above test until you activate the widget that produces the 500 error. (You may have to refresh your cache after each widget change.)

    This is how I found which of my questionable widgets had the error. Then once I looked at the widget logic, I realized I had a misplaced character. Once I removed that, saved the widget, and refreshed my cache, the web-sniffer test returned 200 OK again.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.