• Resolved Ed W

    (@ewilkes)


    After updating to 1.8.0, my site returns a 500 error. Being unable to access the dashboard, I renamed the ‘business-hours-indicator’ folder and refreshed my site…no more error, site displays as normal. Has anyone else experienced this problem? Any suggestions as to where I might look to find the problem and resolve it?

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Ed!

    Shucks, that’s not good.

    I would advise turning WP_DEBUG in your wp-config.php file to true and rename the plugin back to the original name (and activate it if you are still receiving that error).

    The WP_DEBUG will tell you exactly where/what the error is. It could even be running out of memory.

    Please feel free to paste in the error you get so I may try and assist you ??

    • This reply was modified 8 years, 4 months ago by Andrew Lima.
    • This reply was modified 8 years, 4 months ago by Andrew Lima.
    Thread Starter Ed W

    (@ewilkes)

    I received the following error:
    Parse error: syntax error, unexpected ‘[‘ in …/wp-content/plugins/business-hours-indicator/includes/class-bhi-hourshelper.php on line 74

    I was unable to recreate this issue on my local environment.

    However inside …/wp-content/plugins/business-hours-indicator/includes/class-bhi-hourshelper.php on line 74 you can change $h = []; to $h = array(); which should hopefully resolve the issue.

    Keep me posted ??

    If you are uncomfortable in doing that, I would suggest waiting for the plugin author.

    Thread Starter Ed W

    (@ewilkes)

    Andrew,
    Thanks so much for the quick responses and help…that fixed the problem and the site is back to functioning properly.

    Plugin Author Wombat Plugins

    (@maartenbelmans)

    hi @ewilkes,

    I’ll make sure to include this fix in future version so you can enjoy updates without having your site broken ??

    Maarten

    You’re welcome @ewikes :).

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘500 Error after update’ is closed to new replies.