- This topic has 6 replies, 3 voices, and was last updated 4 months ago by Clifford.
October 27, 2020 at 9:36 am #1506652Clifford
I tried importing Vacation from Site Library but got a 400 error: https://share.getcloudapp.com/E0urXEWn
JS console showed it happening on admin-ajax.php
Unsure if one or both of these WP_DEBUG_LOG messages is related:
PHP Notice: Only variables should be passed by reference in /wp-content/object-cache.php on line 317
PHP Notice: wp_cache_flush() used, this is broadly not recommended. Called in /wp-content/plugins/gp-premium/sites/libs/wxr-importer/WXRImporter.php line 552 in /wp-content/object-cache.php on line 322
Is there a way to manually download then upload/import?October 27, 2020 at 10:38 am #1506742LeoStaffCustomer SupportOctober 27, 2020 at 10:54 am #1506775Clifford
I didn’t have any caching plugins.
I had all these active at the first attempt (when creating the support ticket): https://share.getcloudapp.com/L1uQDJrW
I deactivated all but GP’s and the one you can’t deactivate on their hosting: https://share.getcloudapp.com/DOu9lx6r
BTW, I had ALL activated but upon attempting the import some got disabled: https://share.getcloudapp.com/E0urXnEm – if that’s not a bug, no worries on my end, just FYI.October 28, 2020 at 9:16 am #1508171TomLead DeveloperLead Developer
This error is because of caching (and it’s even referencing object-cache.php).
Does your hosting have any built-in server caching (I’m assuming they do)? If so, is it possible to disable it temporarily while you use the importer?October 28, 2020 at 9:39 am #1508201Clifford
With their support, I can confirm adding this line to wp-config.php (temporarily) makes it work:
define( 'WPMUDEV_HOSTING_OBJECT_CACHE_ENABLED', false );
I’m a bit surprised, but I’m glad it was easy. And tyvm for your help.October 28, 2020 at 10:40 am #1508277TomLead DeveloperLead DeveloperOctober 28, 2020 at 2:02 pm #1508531
- You must be logged in to reply to this topic.