-
Notifications
You must be signed in to change notification settings - Fork 82
Description
Description
Hello,
I'm reporting a critical issue after the latest plugin update.
My Environment:
- PHP Version: 5.6.40
The Issue:
The plugin's official description states that the minimum required PHP version is 5.6. However, after updating, my site crashed with a fatal PHP error.
Error Message:
E_PARSE: syntax error, unexpected ‘?’ in .../wp-maintenance-mode/vendor/codeinwp/themeisle-sdk/src/Modules/Promotions.php on line 270
Analysis:
The unexpected '?' error clearly indicates that the code is using nullable type syntax, which was introduced in PHP 7.1. This means the latest version of the plugin is no longer compatible with PHP 5.6, contrary to the stated requirements.
Could you please either fix the code to maintain PHP 5.6 compatibility or update the minimum required PHP version in the plugin's description to reflect the actual requirement (e.g., PHP 7.1+)?
Thank you.
Step-by-step reproduction instructions
Hello,
I'm reporting a critical issue after the latest plugin update.
My Environment:
- PHP Version: 5.6.40
The Issue:
The plugin's official description states that the minimum required PHP version is 5.6. However, after updating, my site crashed with a fatal PHP error.
Error Message:
E_PARSE: syntax error, unexpected ‘?’ in .../wp-maintenance-mode/vendor/codeinwp/themeisle-sdk/src/Modules/Promotions.php on line 270
Analysis:
The unexpected '?' error clearly indicates that the code is using nullable type syntax, which was introduced in PHP 7.1. This means the latest version of the plugin is no longer compatible with PHP 5.6, contrary to the stated requirements.
Could you please either fix the code to maintain PHP 5.6 compatibility or update the minimum required PHP version in the plugin's description to reflect the actual requirement (e.g., PHP 7.1+)?
Thank you.
Screenshots, screen recording, code snippet or Help Scout ticket
Environment info
No response
Is the issue you are reporting a regression
No