PHP 8 expression used without fallback for older PHP versions
-
Hello,
I have noticed that your plugin documentation states it supports PHP 5.6 and above.
However, in the current version of the plugin (woo-checkout-regsiter-field-editor, version: 2.4.6), you are using the “match” expression, which is only available in PHP 8.0 and later.
Specifically, this can be found in the file: wp-content/plugins/woo-checkout-regsiter-field-editor/admin/class-jwcfe-admin.php at lines 317–345.
This causes a fatal error and completely breaks sites running PHP versions lower than 8.0 (in my case, 7.4). Could you please update the plugin to ensure compatibility with the PHP versions you claim to support, or update the documentation to reflect the actual minimum PHP requirement? Thank you!
The topic ‘PHP 8 expression used without fallback for older PHP versions’ is closed to new replies.