• Resolved Bonaldi

    (@bonaldi)


    With v2.8.3, get this notice on dashboard page:

    Parse error: syntax error, unexpected ')' in /var/www/mysite/wp-content/plugins/paid-memberships-pro/adminpages/admin_footer.php on line 19

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @bonaldi,

    Thank you for using Paid Memberships Pro.

    I cannot replicate this notice using using Paid Memberships Pro 2.8.3, Twenty Twenty-One 1.4, WordPress 5.9.3, PHP 7.4.1, and PHP 8. Please download the 2.8.3 version and upload it as a plugin on your site and let me know if that helps.

    Kind regards,
    Michael

    Plugin Author Jason Coleman

    (@strangerstudios)

    Hi, Bonaldi.

    Sorry you’ve run into this issue. Thanks for bringing it to our attention.

    It seems that file has some code added in version 2.8.2 that isn’t compatible with versions of PHP before 7.3.

    Here is the change to fix that if you don’t mind editing files: https://github.com/strangerstudios/paid-memberships-pro/commit/9b018952f89a9d2d326711bcf6e77b4a21b877e6

    (Remove the comma at the end of line 18.)

    I’m not sure when we will be able to push this fix out, but version 2.8.4 will have this fix in place.

    Another option is to upgrade to PHP 7.3 or higher. I realize this is a big change, shouldn’t be required, and may cause other issues. But if you were thinking about doing that anyway, now might be a good time.

    Thread Starter Bonaldi

    (@bonaldi)

    Thank you for the answer.

    Indeed, it is a problem of PHP version.
    Unfortunately it is an old site and the host does not offer PHP 7.3 or higher.

    I will wait for your fix in the next version.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Notice with v2.8.3’ is closed to new replies.