- This topic has 6 replies, 3 voices, and was last updated 1 year, 7 months ago by
Clifford.
-
AuthorPosts
-
October 27, 2020 at 9:36 am #1506652
Clifford
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.phpI am on WPMU DEV hosting and don’t have EasyEngine.
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 #1506742Leo
StaffCustomer SupportHi there,
Do you have any server cache or plugin cache activated?
Can you quickly disable all plugins to see if that somehow helps with the issue?
Thanks ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 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 #1508171Tom
Lead DeveloperLead DeveloperHi there,
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?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 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 #1508277Tom
Lead DeveloperLead DeveloperGlad that worked – thanks for sharing the code ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 28, 2020 at 2:02 pm #1508531Clifford
OK, so that was actually just half of the battle – upon importing working, then the site wouldn’t load (plus no PHP or JS errors).
With WPMU DEV’s support, we figured out the “225170” rule from their WAF needed to be disabled.
1min demo video: https://share.getcloudapp.com/geuqPE0y
-
AuthorPosts
- You must be logged in to reply to this topic.