• While Trying to delete a backup, I have getting following error in js popup:

    PHP Fatal error (TypeError) has occurred during deleteset subaction. Error Message: Argument 1 passed to Google_Client::__construct() must be of the type array, object given, called in /var/www/vhosts/smartwatchspex.com/httpdocs/wp-content/plugins/updraftplus/methods/googledrive.php on line 825 (Code: 0, line 92 in /var/www/vhosts/smartwatchspex.com/httpdocs/wp-content/plugins/google-site-kit/vendor/google/apiclient/src/Google/Client.php)

    My Server is getting filled by backups, because auto delete also not working

    Please help

    Server Info:
    VPS and Plesk
    Server OS : Linux / 64Bit OS
    Server Software : Apache
    Total CPUs : 1 / 2 Cores
    Total RAM : 4 GB
    Database Software : (Ubuntu)
    Database Version : 5.7.26
    Maximum No. of Connections : 214
    Maximum Packet Size : 16 MB
    Database Disk Usage : 37 MB
    Index Disk Usage : 6 MB
    Check More Database Info
    PHP Version : 7.2.17
    PHP Max Upload Size : 10 MB
    PHP Max Post Size : 16 MB
    PHP Max Execution Time : 90 sec
    PHP Short Tag : Off
    PHP Memory Limit : 300 MB
    Real Time PHP Memory Usage :

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

    (@aporter)

    Hi,

    This is caused by a plugin conflict.

    The plugin google-site-kit is loading a newer version of the Google SDK which does not support PHP 5.2 on every page including ours.

    We have to use an older version of the Google SDK to support PHP 5.2 installs.

    If you deactivate that plugin the backups will start to work again.

    You can report this to the developers of google-site-kit.

    As you can see here, other users have reported it but it does not look like a fix is coming anytime soon:

    https://github.com/google/site-kit-wp/issues/246

    Best Wishes,

    Ashley

    Thread Starter Jaber Al Nahian

    (@rijans)

    How can you even support PHP 5.2 where 5.4 is even abandoned. You guys should rather encourage nerds to upgrade PHP. Astonishing. Now you mean I can’t use Google Site Kit, if I want to use UpDraft? Anyway thanks for addressing the issue.

    Plugin Contributor aporter

    (@aporter)

    Hi,

    We support PHP 5.2 as that is the minimum supported PHP version for WordPress 3.7 onwards (WordPress 5.2 has recently changed the minimum to PHP 5.6).

    https://displaywp.com/wordpress-minimum-php-version/

    Where WordPress 3.7 is currently the oldest supported WordPress version which we also support:

    https://en.wikipedia.org/wiki/WordPress#Release_history

    The conflict is with Google Site Kit and Google Drive in UpdraftPlus, you can still use UpdraftPlus with other remote storage options such as Dropbox if you wanted to.

    Best Wishes,

    Ashley

    Plugin Author David Anderson

    (@davidanderson)

    > How can you even support PHP 5.2 where 5.4 is even abandoned. You guys should rather encourage nerds to upgrade PHP. Astonishing.

    UpdraftPlus is a backup/restore plugin. One of its use cases is allowing people to take a backup of their site before they upgrade. So, if you get a new client on a site that’s still running PHP 5.2, you’ll want to upgrade it… but before upgrading, you’ll want to take a backup.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Error While Deleting’ is closed to new replies.