X ERROR: The preview could not load

Hi,

Fresh install, when I select “Theme Options”, this error occurs:

“The preview could not load. This is most often related to a plugin conflict or aggressive page cacheing. Checking the developer console for errors could indicate what went wrong.”

No caching plug-in, or any other plugins out of X;
PHP memory_limit = “512M”

How do I fix this issue?

Hi @cmadao,

Thanks for reaching out.

I assume you already did the troubleshooting, in that case, please provide the site’s URL and admin login credentials in a secure note and we’ll check.

Thanks!

Hi @Rad!
Thank you for you support. I’ve sent you the login info.

Hi @cmadao,

Please provide them in the secure note :slight_smile:

The button is under your existing reply.

Thanks!

Done. Sorry, I sent you the info by message before.

Hello @cmadao,

I have logged in and there is an error 500 when you visit the theme options. Can you please enable the debug mode? You can do this by opening wp-config.php and adding


define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define( 'WP_DEBUG_DISPLAY', true );

/* That's all, stop editing! Happy blogging. */

When we revisit the page, we should be seeing some error output describing the issue in more detail in the error log. Meanwhile, please make sure that you have meet the requirements to run WordPress. You will have to update to PHP version to 7.2. For more details about these requirements, please check it here: https://wordpress.org/about/requirements/

Please let us know how it goes.

Hi @RueNel,

I’ve updated PHP to v.7.2.
I’ve added the lines to debug mode.

Same error :frowning:

I also have this error but not idea where to go to see error in developer console - is there a troubleshooting page to see? Thank you!

Hi @cmadao,

It appears that it’s only happening in your home page, would you mind providing your FTP login credentials as well? For the meantime, please save your content as a template (as backup), then delete the content of your home page one at a time then reload the page while doing that. If the builders work, then the last deleted content is the culprit.

@Ekpebu, please start a new thread regarding your issue and provide the login credentials to your thread’s secure note. Then make sure to follow the recommendation provided in this current thread.

Thanks!

1 Like

Hi @Rad,

FTP info in Secure Note.
I’ve deleted the content from the front page, one by one, and reloaded, but I allways get the same error.

Hi There,

Could you please double check on your FTP account?

I was unable to login:

Thank you.

I’ve confirmed it again, and used copy/paste of the info in the Secure Note.

Hi @cmadao,

Could you try changing your PHP version exactly as 7.2 instead of 7.3? There are warnings appearing due to Slider and PHP 7.3.

Thanks!

Yes, I can do it. But that’s one of the tests that I’ve done.
First I’ve updated to 7.2 and after that to 7.3.
I’m setting to 7.2 again, for your tests.
Thank you.

Hi @cmadao,

Kind of weird, any page assigned as home page will not work. Try not assigning your current home page and edit it in the builder and it will work. The internal server error is not even logged which should be.

Do your host some sort of feature that blocks ajax request to home page? I tried issuing CURL request to your site using this tool https://onlinecurl.com/ and seems it’s blocked. Could you try contacting your hosting provider about that? Give them the CURL command that I will provide in the secure note (I directly copied it from your site’s AJAX request).

Thanks!

Hi @Rad,

I’ve checked my CPANEL and there was an ModSecurity option enabled.
I switched it off and it seams to work now.

Thank you!

Glad it’s working now, cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.