Skip to content

Prevent Fatal Error on server with old php version#712

Open
thomasblanchard-dev wants to merge 2 commits intowp-media:developfrom
thomasblanchard-dev:patch-1
Open

Prevent Fatal Error on server with old php version#712
thomasblanchard-dev wants to merge 2 commits intowp-media:developfrom
thomasblanchard-dev:patch-1

Conversation

@thomasblanchard-dev
Copy link

Actually, when update version 2.0 to 2.1 on a PHP 7.0 server, a fatal error occure.

The error: Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.2.0". You are running 7.0.33-0+deb9u12. in wp-content/plugins/imagify/vendor/composer/platform_check.php on line 24

Wordpress PHP version in the plugin file need to be changed in order to not give the user the right to download the plugin.

Actually, when update version 2.0 to 2.1 on a PHP 7.0 server, a fatal error occure. 

The error: `Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.2.0". You are running 7.0.33-0+deb9u12. in wp-content/plugins/imagify/vendor/composer/platform_check.php on line 24`

Wordpress PHP version in the plugin file need to be changed in order to not give the user the right to download the plugin.
@thomasblanchard-dev
Copy link
Author

Hi @Tabrisrp, can you give me a feedback about this please ?

@remyperona
Copy link
Contributor

Can you also do the same change in the composer file, and I'll validate the PR, thank you

@thomasblanchard-dev
Copy link
Author

@Tabrisrp I've done the change in the composer file, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants