Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent Fatal Error on server with old php version #712

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

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