• Resolved feaezdk

    (@feaezdk)


    After update the plugin I got error and my admin panel got blank.

    Error is:
    syntax error, unexpected ‘)’, expecting ‘|’ or variable (T_VARIABLE) in <directory>/plugins/uddoktapay-gateway/src/LocalGateway.php on line 339

    Version is : 2.5.1

Viewing 1 replies (of 1 total)
  • Plugin Author UddoktaPay

    (@uddoktapay)

    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!

    • This reply was modified 1 year ago by UddoktaPay.
Viewing 1 replies (of 1 total)

The topic ‘Plugin file got error’ is closed to new replies.