We’re running into this similar error which blocks deployment to WPEngine (our webs host):
PHP Parse error: syntax error, unexpected 'private' (T_PRIVATE), expecting variable (T_VARIABLE) in ./wp-content/plugins/wp-seopress/vendor/google/auth/src/Cache/TypedItem.php on line 46
Errors parsing ./wp-content/plugins/wp-seopress/vendor/google/auth/src/Cache/TypedItem.php
@creativeslice Which version of PHP do you use please?
@polishdreamer incoming, thx!
@actrazer @creativeslice please update to version 5.8.0.4.
It the issue is still not solved, please send us an email to contact[at]seopress[dot]org. Thanks!
We’ve tried this running PHP 7.4 and PHP 8.0
After updating to 5.8.0.4 WPEngine still blocks deployment if we include the SEOPress plugin due to this PHP error:
PHP Parse error: syntax error, unexpected 'private' (T_PRIVATE), expecting variable (T_VARIABLE) in ./wp-content/plugins/wp-seopress/vendor/google/auth/src/Cache/TypedItem.php on line 46
Errors parsing ./wp-content/plugins/wp-seopress/vendor/google/auth/src/Cache/TypedItem.php
@creativeslice this code is provided by Google. We’ll see if there is an update.
@creativeslice can confirm you already had the issue with SEOPress 5.7 please?
We’ll downgrade the code provided by Google to a previous one to support PHP < 8.1 and we want to make sure it will work with your host.
Thx
@actrazer please update to version 5.8.0.5, we have downgraded Google Auth to fix this.
Thanks!
What is this
Can anyone guide me.
I use wp rocket to migrate the jquery version but in core web vital this error is coming.
Kindly guide me
jquery/jquery.min.js?ver=3.6.0
Thanks
@ideal1 please open your own topic with the URL of your site. Thank you for understanding.