PHP Fatal error: Call to undefined method Google_Client::getIo()
-
Hi,
Been trying to get to the bottom of this for a few hours now but after updates, tweaks, resets, debugging and logs galore I am no closer to an answer.
Server: CentOS 7 running apache 2.4.6 and PHP version: 5.4.16
Updraft: Version 1.12.32
Target: Google DriveJust to be clear that I have 3 copies of Updraft running on this server for other sites and only this version is broken – error follows
—–
PHP Fatal error: Call to undefined method Google_Client::getIo() in /var/www/example.com/wp-content/plugins/updraftplus/methods/googledrive.php on line 521, referer: https://example.com/wp-admin/options-general.php?page=updraftplus
—–
I have reset the authentication and while it does appear to work when I complete the process Updraft finishes at an almost blank page (menu is present but not a lot else).
The log always “stalls” at “Google Drive: successfully obtained access token” but never uploads any files, however all local backups complete.The very last thing I have found is that the Google Client for PHP appears to have depreciated the getIo() method (https://github.com/google/google-api-php-client/blob/master/UPGRADING.md#guzzle-and-psr-7-are-used-for-http-requests) but I am running the same version of Updraft on the same server – no dice.
Any more ideas?
- The topic ‘PHP Fatal error: Call to undefined method Google_Client::getIo()’ is closed to new replies.