• Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.0.0". You are running 5.6.40-0+deb8u12. in /mywpweb/wp-content/plugins/svg-support/vendor/composer/platform_check.php on line 25

    Even though the plugin claims to be working for PHP5.3+ (note that WP 5.9 itself does still support PHP5.6), there is following check in upper-mentioned file

    if (!(PHP_VERSION_ID >= 70000)) {
        $issues[] = 'Your Composer dependencies require a PHP version ">= 7.0.0". You are running ' . PHP_VERSION . '.';
    }

    Which in consequent runs trigger_error therefore KILLING the WHOLE website.
    Only manual plugin deactivation through DB or FTP is a way out.

    Please update the supported PHP version or really support the claimed version.

    Otherwise the plugin works, when it runs ??

Viewing 1 replies (of 1 total)
  • Thread Starter jave.web

    (@javeweb)

    HOTFIX:
    Note that the plugin seems to support PHP5.6 in itself so on your own risk you can try in /wp-content/plugins/svg-support/vendor/composer/platform_check.php replace
    if (!(PHP_VERSION_ID >= 70000)) {
    with
    if (!(PHP_VERSION_ID >= 50600)) { – this will allow it to run on PHP5.6.0+

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin claims to support PHP5.3 but only supports >=7.0’ is closed to new replies.