• Resolved narkanister

    (@narkanister)


    Hi
    We’re getting the following error from the plugin. I can’t see anything wrong with the code, but my IDE also highlights the error…

    Parse error: syntax error, unexpected ‘)’ in /wp-content/plugins/happy-elementor-addons/extensions/scroll-to-top-kit-settings.php on line 110

    Started last night. Had to uninstall the plugin as it crashed the site.

    Help appreciated,
    Toby

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Md. Anower Hossain

    (@anowerhossain16)

    @narkanister,

    Thanks for the acknowledgment.
    We are investigating the issue that you have shared. You will be notified after the workaround.

    For now, in order to avoid the error, you can roll back to the previous version temporarily.

    Thank you.

    The error is being caused by the plugin’s use of trailing argument commas, which aren’t supported by older versions of PHP.

    If you update your server to PHP 7.4, 8.0, or 8.1, that should fix it. Although, ideally the developer should also remove the comma(s) for now since they aren’t necessary and too many people are (unfortunately) still running older versions of PHP.

    Plugin Support Md. Anower Hossain

    (@anowerhossain16)

    Hi @narkanister @pikamander2

    The Syntax Error you are getting is mainly displayed for the unsupported PHP arguments. If you use the PHP version of your site v7.4 or higher then the error won’t appear again.

    Those who ever want to use the below v7.4 or lower version of the PHP then you can get the fixed version of HappyAddons from here.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Parse error: syntax error, unexpected ‘)’’ is closed to new replies.