• Resolved vespino

    (@vespino)


    I’m still getting this error when activating the latest release of
    Mollie Payments for WooCommerce:

    Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ in /var/www/vhosts/***.**/httpdocs/wp-content/plugins/mollie-payments-for-woocommerce/includes/mollie-api-php/vendor/guzzlehttp/promises/src/functions.php on line 45

    I have already upgraded to PHP7.3 because I thought this might be caused by new style array ( [] instead of array() ) but after changing all [] to array() there still was an error.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor davdebcom

    (@davdebcom)

    This is an error in Guzzle, a library we include but don’t develop ourselves. I’ll do a further research now.

    Plugin Contributor davdebcom

    (@davdebcom)

    Upgrading PHP should fix this issue, is it possible you didn’t restart the server after upgrading?

    What does the PHP version say in WooCommerce > Status > System Status

    Thread Starter vespino

    (@vespino)

    Thanks for waking me up. Apparently changing the php version did not stick and it reverted back to the older version. I will look into this again first veryfying the php change worked.

    Thanks again.

    Plugin Contributor davdebcom

    (@davdebcom)

    Not a problem!

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