The error reported by @bitpath is caused by the PHP version. If you are encountering a different error please create another thread.
PHP “shorthand” array syntax (eg $foo = [ 'bar' ]
, instead of $foo = array( 'bar' )
) is only supported by PHP 5.4+ – that is what you will find if you follow the path of that error message.
Here’s the issue: The official PHP Google API uses several 3rd party dependancies, for example guzzlehttp
. We regularly update the Google API and dependancies packaged with our plugin when we do updates to keep things running smooth, bug free, and up to date security wise. In this case it appears that at least one of the dependancies has dropped support for PHP 5.3, this now causes a fatal error.
We’ll look into what our options are tomorrow; obviously we don’t want to break sites.
In the mean time, if possible, I highly recommend you upgrade PHP versions. I can’t stress this enough. Usually it’s a simple as asking your web host. Not only would this fix the issue, but more importantly it would make your site faster and more secure.
Any PHP version less than 5.6 is labeled “end of life” and is not supported anymore. This means it does not get security patches or updates – Yikes! For example the last update for PHP 5.3 was almost 4 years ago, 5.3.10 was released in 2012.
(For more info about PHP versions see https://php.net/eol.php)
With all that said, you can definitely roll back until we have a fix out, if updating PHP isn’t feasible.
On the WP Mail SMTP plugin page, go to Advanced (https://cl.ly/43321D403Z3v), and look for the “PREVIOUS VERSIONS” at the bottom of the page. Select 1.2.5 and it will download the previous version.