Hi,
Do you have any other plugins that interact with any Google services?
David
Please can you list your other installed plugins?
Hi David,
Sorry for the late response. Both sites use different plugins. They both share iThemes security, Google XML Sitemaps, Google Analyticator and WP Clean Up. If I disable all other plugins the authentication works and the backup is done without errors, but there is still no upload to Google Drive (on both sites).
F.y.i. both sites had Updraftplus running before, but I upgraded the plugin AND changed the Google drive settings to upload to the ‘Updraftplus’ folder.
Also… the authentication messages I get from Google vary. Sometimes it wants to have offline access, others times it wants to display and manage files… (Sorry, I have to translate the messages)
Hi,
Please can you post the full backup log of a backup run with all the other plugins de-activated? Use pastebin.com to post the log.
David
OK.
That backup is not working because you’ve not activated the Google Drive API in your Google API console, as in step 2. of the setup instructions – http://updraftplus.com/support/configuring-google-drive-api-access-in-updraftplus/ – things worked if you omitted this step before the current UD release, but that step has always been in the instructions.
However, disabling your other plugins has indeed fixed the fatal error. Please could you do us a favour and use a process of elimination to find which plugin in particular is the one that there is a conflict with? I’m supposing that Google XML Sitemaps and Google Analyticator are the prime suspects!
David
My bad… It seems I enabled Drive SDK rather than the Drive API. The backup succeeded on 1 site. I presume the other will work as well.
I still have problems authenticating with other plugins enabled. I will update on the situation.
Hi David,
You are right. With Google Analyticator enable I can’t authenticate. Disabling it makes the backup work properly on both sites.
Thanks for the help and a great plugin!
Thanks… can you confirm the version of Google Analyticator that you have installed?
Also… I’ve just made a tiny tweak that might fix the conflict. If you can de-install UpdraftPlus, and re-install (the version number will be the same), and try the problematic scenario again… does that fix it?
David
I am using the latest version of Analiticator. Version 6.4.7.3.
I reinstalled the UpdraftPlus plugin on both sites, but the authentication problem persists.
OK. I’ve reproduced this now.
The fault is in Google Analyticator – on every page load, it loads an old, incompatible copy of the Google SDK (instead of only loading it when needed) – which pollutes the function space for other plugins. The fatal conflict comes because of it being an old version, which conflicts with the new version. There’s no opportunity for another plugin to load its version of the Google SDK.
I’ve added some code in UpdraftPlus to specifically detect Google Analyticator, and prevent it doing this. If you de-install and then install UpdraftPlus, then it’ll still be 1.9.5 – but should work (it fixed it for me on the site I reproduced it on).
This is an ugly solution, really – custom work-arounds for brokenness in other plugins are really inefficient ways of solving things…. Hence, I’ve opened a support request in Google Analyticator’s forum – hopefully they’ll fix it soon:
https://wordpress.org/support/topic/dont-unconditionally-load-old-google-sdk
Best wishes,
David
Hi distopicus – any feedback on whether that fixed it?
I understand that custom backup folder where possible in the past with the free version of updraft plus. Now it’s not and thats ok but I can’t remove the Google Drive Folder number from the filed. Tried to delete the plugin and install it new, the google drive folder is always automatically filled. How to remove this?