Hi @kkforum ,
Thank you for installing the plugin.
“Uncaught Error: syntax error, unexpected ‘=>’ (T_DOUBLE_ARROW)“
is due to the use of PHP 8+ syntax (match expression), which is not supported in older PHP versions (below 8.0).
To resolve this issue, please update your PHP version to 8.0 or higher. How to check your PHP version:
- Go to WordPress Dashboard → Tools → Site Health → Info tab
- Expand the “Server” section to view your current PHP version.
How to update PHP version:
- Login to your hosting control panel (e.g., cPanel, Plesk).
- Look for “Select PHP Version” or “PHP Manager”.
- Choose PHP 8.0 or 8.1, then click Save/Apply.
- Alternatively, contact your hosting provider and request them to upgrade the PHP version.
Once updated, the plugin should function as expected.
📌 Note:
If upgrading the PHP version is difficult on your end, we’re happy to refactor the code to support your current environment. Kindly let us know your exact PHP version, and we will adjust the workflow accordingly.
Thank you for your support and feedback.
@padmadev Thank you for your reply.
I tested this on another website’s staging which is on PHP 8.0 and I did not get any error on installation.
I will close this.
Thanks