Hi there,
those look errors caused by an older PHP version. Anything about PHP 7.4 should work, could you double-check that the staging and production sites are running 8.1 too? Or maybe CPanel has some compatibility check that’s configured for an older version?
Hello,
Thank you for your reply.
These are the links of the images that we confirmed that our server and wordpress are using PHP 8.1.
Terminal PHP
https://i.imgur.com/GckHPVI.png
WordPress Settings
https://i.imgur.com/wNcG94A.png
Cpanel
https://i.imgur.com/9plcqhP.png
System PHP
https://i.imgur.com/YtRD6Pq.png
Pipeline Error after running the activate plugin script https://i.imgur.com/9NwMR5a.png
Do you think that the System PHP Version affecting the Cpanel, even if we the domains are running php versions greater than 7.3?
Thank you.
Update: We are able to change the default system php version to 8.1 but the error still exist in our CPanel. Please see image below.
https://i.imgur.com/EOyu1Gy.png
I’d still suspect that pipeline script or part of it somehow running PHP 7.3. That error message very much sounds like an older version of PHP not recognizing the syntax.
If you have other means of uploading the plugin or temporary disabling that pipeline, you should try updating Job Manager on the staging site and checking if it shows the error. I did a few tests and also checked various sites, running the new version on anything from PHP 7.4 to 8.2 should be working.
Hello!
It’s been one week since this topic was last updated. I’m going to mark this thread as solved. If you have any further questions or need more help, you’re welcome to open another thread here. Cheers!