• I seemingly cant backup to Google drive. setup seems fine so far, but I get a big error when trying to send a backup to it.

    [2020-07-12 01:41:35] php_system.ERROR: E_ERROR: array ( ‘type’ => 1, ‘message’ => ‘Uncaught Error: Class \’watchfulli\\XClonerCore\\XCloner_Google_Drive_Adapter\’ not found in /var/www/vhosts/hosting135743.a2e3d.netcup.net/subdomains/blog/wp-content/plugins/xcloner-backup-and-restore/vendor/watchfulli/xcloner-core/src/Xcloner_Remote_Storage.php:785 Stack trace: #0 /var/www/vhosts/hosting135743.a2e3d.netcup.net/subdomains/blog/wp-content/plugins/xcloner-backup-and-restore/vendor/watchfulli/xcloner-core/src/Xcloner_File_System.php(172): watchfulli\\XClonerCore\\Xcloner_Remote_Storage->get_gdrive_filesystem() #1 /var/www/vhosts/hosting135743.a2e3d.netcup.net/subdomains/blog/wp-content/plugins/xcloner-backup-and-restore/vendor/watchfulli/xcloner-core/src/Xcloner_File_System.php(374): watchfulli\\XClonerCore\\Xcloner_File_System->get_storage_filesystem(\’gdrive\’) #2 /var/www/vhosts/hosting135743.a2e3d.netcup.net/subdomains/blog/wp-content/plugins/xcloner-backup-and-restore/vendor/watchfulli/xcloner-core/src/Xcloner_Api.php(968): watchfulli\\XClonerCore\\Xcloner_File_System->get_backup_archives_list(\’gdrive’, ‘file’ => ‘/var/www/vhosts/hosting135743.a2e3d.netcup.net/subdomains/blog/wp-content/plugins/xcloner-backup-and-restore/vendor/watchfulli/xcloner-core/src/Xcloner_Remote_Storage.php’, ‘line’ => 785, ) [] []

Viewing 6 replies - 1 through 6 (of 6 total)
  • We will be fixing this is the next release, meanwhile, feel free to download the XCloner plugin github release from here https://github.com/watchfulli/XCloner-Wordpress/archive/master.zip and let me know if you have anymore issues.

    As a note, this issue related to the XCloner core plugin and not the google drive one.

    • This reply was modified 3 years, 9 months ago by ovidiul.

    The master zip from Github has an other error, please review:

    [2020-07-23 15:07:41] xcloner_remote_storage.INFO: Creating the Google Drive remote storage connection [“”] []
    [2020-07-23 15:07:41] xcloner_remote_storage.INFO: Using target folder with ID xxxxxxxxxxxxxxxxxxxxxxxxx on the remote storage [] []
    [2020-07-23 15:07:41] xcloner_file_system.INFO: Cleaning the backup storage GDRIVE on matching rules [] []
    [2020-07-23 15:07:42] xcloner_remote_storage.INFO: Transferring backup backup_site-2020-07-23_10-14-sql-diff2020-07-19_00-00-c5399.tgz to remote storage GDRIVE [“”] []
    [2020-07-23 15:07:42] php_system.ERROR: E_ERROR: array ( ‘type’ => 1, ‘message’ => ‘Uncaught Google_Service_Exception:
    Global HTTP Batch endpoint is deprecated. See https://g.co/cloud/global-batch-deprecation for info and migration steps. in
    /home/site/public_html/folder/plugins/xcloner-google-drive/vendor/google/apiclient/src/Google/Http/REST.php:118
    Stack trace: #0 /home/site/public_html/folder/plugins/xcloner-google-drive/vendor/google/apiclient/src/Google/Http/REST.php(94):
    Google_Http_REST::decodeHttpResponse() #1 /home/site/public_html/folder/plugins/xcloner-google-drive/vendor/google/apiclient/src/Google/Task/Runner.php(176):
    Google_Http_REST::doExecute() #2 /home/site/public_html/folder/plugins/xcloner-google-drive/vendor/google/apiclient/src/Google/Http/REST.php(58):
    Google_Task_Runner->run() #3 /home/site/public_html/folder/plugins/xcloner-google-drive/vendor/google/apiclient/src/Google/Client.php(788):
    Google_Http_REST::execute() #4 /home/site/public_html/folder/plugins/xcloner-google-drive/vendor/google/apiclient/src/Google/Http/Bat’,
    ‘file’ => ‘/home/site/public_html/folder/plugins/xcloner-google-drive/vendor/google/apiclient/src/Google/Http/REST.php’, ‘line’ => 118, ) [] ]

    I am experiencing the same issue. Everything seems to be setup properly but I still get this error.

    Fatal error: Uncaught Error: Class 'watchfulli\XClonerCore\XCloner_Google_Drive_Adapter' not found in /home/public_html/media/plugins/xcloner-backup-and-restore/vendor/watchfulli/xcloner-core/src/Xcloner_Remote_Storage.php:785 Stack trace: #0 /home/public_html/media/plugins/xcloner-backup-and-restore/vendor/watchfulli/xcloner-core/src/Xcloner_Remote_Storage.php(357): watchfulli\XClonerCore\Xcloner_Remote_Storage->get_gdrive_filesystem() #1 /home/public_html/media/plugins/xcloner-backup-and-restore/vendor/watchfulli/xcloner-core/src/Xcloner_Remote_Storage.php(325): watchfulli\XClonerCore\Xcloner_Remote_Storage->verify_filesystem('gdrive') #2 /home/public_html/media/plugins/xcloner-backup-and-restore/admin/class-xcloner-admin.php(167): watchfulli\XClonerCore\Xcloner_Remote_Storage->check('gdrive') #3 /home/public_html/media/plugins/xcloner-backup-and-restore/includes/class-xcloner.php(706): Xcloner_Admin->xcloner_remote_storage_page() #4 /home/ in /home/public_html/media/plugins/xcloner-backup-and-restore/vendor/watchfulli/xcloner-core/src/Xcloner_Remote_Storage.php on line 785

    Follow up question. Am I able to backup to a shared drive by specifying the folder ID?

    Thanks,
    Nathan

    Issues have been solved in the latest versions of XCloner Backup and Restore plugin and XCloner Google drive plugins, so make sure you upgrade them both.

    Hi @ovidiul,

    Have they been updated in the plugin repository yet?

    Thanks,
    Nathan

    Yes, but you can also download the latest packages from the github repo here https://github.com/watchfulli/

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘XCloner_Google_Drive_Adapter not found’ is closed to new replies.