Thanks for reporting the issue.
The error you’re seeing:
syntax error, unexpected ‘)’, expecting ‘|’ or variable (T_VARIABLE) in /plugins/uddoktapay-gateway/src/LocalGateway.php on line 339
was caused by a syntax that’s not supported in PHP 7.4. This has been fixed in version 2.5.2 of the plugin. To resolve the issue:
You have two options:
Option 1:
- Temporarily upgrade your PHP version to 8.1
- Update the plugin to version 2.5.2
- Then downgrade PHP back to 7.4 if needed
Option 2:
- Manually download the latest version (2.5.2) from the WordPress Plugin Directory
- Replace the plugin folder located at:
wp-content/plugins/uddoktapay-gateway
We’re sorry for the inconvenience and thank you for your patience!
Thank you so much for your valuable feedback.