• cbcg

    (@cbcg)


    Hi,

    After updating this morning to v2.1.6, our client’s website (hosted on PHP 7.3) was down with the following error:

    PHP Fatal error:  Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.4.0". You are running 7.3.33. in .../plugins/jwt-auth/vendor/composer/platform_check.php on line 24

    We’ve fixed it in this case by updating PHP to 7.4, but the readme.txt file still states “Requires PHP: 7.2”. It’s an older site, won’t run on PHP 8 without changes, but I’m hoping it should be fine on 7.4.

    A PHP version check needs adding to the plugin’s initialisation before the Composer autoload line, as a failsafe, to prevent it from killing the entire site.

  • The topic ‘Website down due to change in plugin’s PHP version requirements’ is closed to new replies.