- This topic has 4 replies, 3 voices, and was last updated 3 years, 2 months ago by
Tom.
-
AuthorPosts
-
September 11, 2020 at 8:37 am #1439554
David
After installing and activating Generatepress Premium, I tried importing from the Site Library, but on running step 2 Import Demo Content. got an error 400. The process does not finish cleanly, so I have to refresh the screen.
Am running my site on Pressable. When I approached their support about this, they told me:
Unfortunately I haven’t been able to determine what is causing this to occur at the moment. I am able to consistently recreate the 400 error once the Demo Content Import reaches “Import Options”.
I’ve checked file permissions on the site and these are all set correctly. I also deactivated all plugins on the site apart from gp-premium and the issue is still occurring.
Based on the information I found from other users who spoke to the GeneratePress devs, it looks like server caching can sometimes cause these issues. If that’s the case, we unfortunately wouldn’t be able to do anything about that, as the server caching can’t be disabled here.
My recommendation would be to skip the step for importing demo content to avoid this error occurring.As I want to import the demo content, this is not helpful advice to not import it!
I then edited the wp-config.php file in my root WordPress folder:
define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true );
and ran the importer again until I encountered the error. But I found no file named debug.log in the wp-content folder.
I have also purged CDN and flushed the site object cache of database queries and temporary data stored for requests.
September 11, 2020 at 8:41 am #1439561Leo
StaffCustomer SupportHi there,
Can you try disabling all plugins except GP Premium and try the importing process again?
Also just make sure you are not using EasyEngine?
https://docs.generatepress.com/article/error-codes-importing/#400-errorLet me know 🙂
September 11, 2020 at 9:30 am #1439612David
Thanks @Leo. I disabled all plugins except GP Premium and tried the importing process again.
It doesn’t look like EasyEngine is installed, and Pressable said they “didn’t detect any caching plugins on the site”No change, I still get Error 400.
BTW, PHP is 7.3.
September 11, 2020 at 9:33 am #1439617David
Changing to PHP 7.4 makes no difference, the error still occurs.
September 11, 2020 at 10:18 am #1439669Tom
Lead DeveloperLead DeveloperIf that’s the case, we unfortunately wouldn’t be able to do anything about that, as the server caching can’t be disabled here.
This is the issue, unfortunately. They’re saying they’re not able to disable the server caching, which is likely the cause of the issue.
You can manually import the content, but it will skip things like:
1. Adding necessary plugins
2. Updating necessary site optionsIf you’d like to try, let me know the site and I’ll link you to the XML file.
-
AuthorPosts
- You must be logged in to reply to this topic.