WordPress.org

Support

Support » Plugins and Hacks » Internal Server error

Internal Server error

  • tlogan
    Member

    @tlogan

    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author alanft
    Member

    @alanft

    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)

    Daniel J. Lewis
    Participant

    @djosephdesign

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Internal Server error’ is closed to new replies.