Archived topic
0 Error, but can't import demo, why?
17 replies · Started by Julia on December 2, 2019
0 Error, but can't continue the next step. How to solve it?

Hi there,
Any chance you can try the “Further Debugging” steps here?: https://docs.generatepress.com/article/error-codes-importing/#further-debugging
It should give us a better error to work with.
Let me know 🙂
OK, I'll try!
But no debug.log in /wp-content
Have you added the code below in the wp-config.php file?
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
It had been added to the file "wp-config.php"
But it didn't work.
You know when I click the button "Import Options", and it will be "0 Error" fastly. And Step 1, 2, 3 can't work.
This is my first time to meet it.
Thanks! I wanna know how to solve it and make things going well.
Pls, give me a solution. I am urgent to make a website!
Hi there,
If you go to the Site Library and start the import, when the error appears can your Right Click the page and Inspect. This will open the Developer Tools - go to the Console Tab and let me know of any errors or warning.
I am facing the same issue. Here is what I found while followed the steps you suggested.
load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.3:4 Mixed Content: The page at 'https://curiousblogger.com/wp-admin/themes.php?page=generatepress-site-library' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://curiousblogger.com/wp-admin/admin-ajax.php'. This request has been blocked; the content must be served over HTTPS.
Thanks Umesh - can you try the force SSL Admin Access:
Thank you David, it worked.
Awesome - glad to be of help. Julia, can you follow the same steps above?
Thanks! I have solved it. Force SSL Admin Access
/wp-admin/options-general.php
WordPress Address (URL): https://
Site Address (URL): https://
and /wp-includes/functions.php add this in the end
if(isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') {
$_SERVER['HTTPS']='on';
}
Glad to hear that :)
Hello, so recently there's a bug I'm experiencing with my WordPress dashboard and website where ill get an error message randomly ( It can be when I try to customize the website or try to update a post, or simply visiting my website URL) I contacted my host company and they said everything was working perfectly fine on their end. I figured there might be a faulty code so I removed the theme and try to reimport the theme and got hit with the "0 error [?]" I did do the inspect and I'm getting these errors: Failed to load resource: net::ERR_CONNECTION_CLOSED
That's the same error I get randomly throughout WordPress dashboard and when I'm visiting the site. Any idea on how i can fix it? Any help is greatly appreciated.
Thank You