pronamic / wp-pronamic-pay

The Pronamic Pay plugin allows you to easily accept payments with payment methods like credit card, iDEAL, Bancontact and Sofort through a variety of payment providers on your WordPress website.
https://pronamicpay.com
34 stars 14 forks source link

Fatal error on unsupported PHP version #309

Closed rvdsteege closed 2 years ago

rvdsteege commented 2 years ago

If the minimum PHP version requirement is not met, a Composer platform check triggers a fatal error:

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 /wp-content/plugins/pronamic-ideal/vendor/composer/platform_check.php on line 24

We could improve this, by disabling the Composer platform check and adding our own PHP version check resulting in for example an admin notice.

remcotolsma commented 2 years ago

Improved in https://github.com/pronamic/wp-pronamic-pay/commit/d86e46ddeb88e086a6b1ea5359af6ace73585bd7.