• mckaybonham

    (@mckaybonham)


    When my team tries to add a new Plugin to our client’s site, we’re getting an error that says something may be wrong with WordPress or (more likely) our hosting server’s config. I’ve included the page’s DevTools in the screenshot in case the warnings on page load are a hint at the problem.
    https://snipboard.io/gTYoti.jpg

    The server in question is an EC2 instance, and it recently had its PHP version updated to PHP 5.6.40-29+ubuntu16.04.1+deb.sury.org+1. I’ve Googled for PHP updates breaking WordPress interactions and found nothing in the past year, but this is our leading theory based on no other recent code changes being made to the server (I think).

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • threadi

    (@threadi)

    PHP 5.6 is extremely old and should not have been used for years. You should upgrade to 7.4 or better 8.0 as soon as possible.

    What exactly is the cause of the displayed error is difficult to judge. It is possible that the plugin you want to install is not compatible with this very old PHP version. Or some other server-side error occurred. I would recommend taking a look at the error log in your hosting. There the cause should be recognizable.

    Thread Starter mckaybonham

    (@mckaybonham)

    Yeah thanks, I just realized right after I posted that our PHP is way out of date. I’m brand-new on the project as of today and don’t know why they’re using this software, but I’ll see if I can get it upgraded. Thanks for the reminder to check the logs too.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘“Unexpected error” when trying to add new plugin’ is closed to new replies.