• Resolved Michał Dudziński

    (@fotoduda)


    Hello,

    On several sites that I manage, updating to 2.9.10 causes a fatal error.

    Parse error: syntax error, unexpected ‘)’ in /var/www/xxx/wp-content/plugins/sierotki/includes/iworks/options/options.php on line 907

    I disabled all other plugins and the problem persist.
    Rollback to 2.9.9 fixes the problem.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Kuba Mikita

    (@kubitomakita)

    The issue is with this trailing comma when strict mode is enabled

    Screenshot

    Plugin Author Marcin Pietrzak

    (@iworks)

    hi @fotoduda, @kubitomakita

    This is the change between php 7.x and 8.x

    Could you update ti 2.9.11 and re-check?

    And I suggest upgrading PHP at least to 8.0.17.

    The good reasons?

    – PHP 7.4 end of life is 28.11.2022
    – PHP 8.0 is about 25% faster than 7.4
    – PHP 8.1 is about 35% faster than 7.4

    And if you are using PHP lower version than 7.4 – then you can have a serious security issue.

    Marcin

    Plugin Author Marcin Pietrzak

    (@iworks)

    @fotoduda ping

    Thread Starter Michał Dudziński

    (@fotoduda)

    @iworks

    Thanks for a quick response. 2.9.11 fixed all the problems.

    And yes, I know, I have to update my PHP but it’s out of my hands unfortunately.

    Plugin Author Marcin Pietrzak

    (@iworks)

    Thank you for your feedback!

    Marcin

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘2.9.10 Fatal error’ is closed to new replies.