Warning when edit Global Blocks

I get this error when I try to edit/update my Global Blocks:

The preview could not load due to the iframe response being incomplete. This is most often related to a plugin conflict, or customizations introducing a PHP error.

I have been following your steps mentioned here: https://theme.co/docs/warnings-in-the-builders but that has not fixed the error.

Can you help?

Hi @lowlandet,

Can you confirm that you tested for a plugin conflict and for an issue with a child theme? If so, please also first test for other customisations, using the article here, and if the problem still persists, following the remaining steps in that article.

If you go through each of those and despite that, you’re still unable to identify or resolve the problem, let us know.

Hi,

Thanks for the link. I went through all of these suggestions and still getting the same error.

Hi @lowlandet,

There might be other possible reasons for the issue to examine that, please copy your live site to a staging server so we could troubleshoot freely without breaking your current setup.

Give us access as you did for your live site.

Thanks

Hi,

This is a staging server, and I got a backup in case something goes wrong. So feel free to do whatever you want. :slight_smile:

Hi @lowlandet,

Seems something is added whitespaces to the responses, and the requests are halted right away.

image (1)

Please add the following code to your wp-config.php for debug setup.
And please inform us of the issues for further support.

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );

// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );

// Disable display of errors and warnings 
define( 'WP_DEBUG_DISPLAY', false );
//SET PHP INI DISPLAY ERROR FALSE
@ini_set( 'display_errors', 0 );

Please find the video will help you to edit wp-config.php and add the above code: https://www.youtube.com/watch?v=3SDPTafEM8o
If that does not help, please provide the following details in the secure note:

– FTP or CPanel Credentials

Thanks

This should be enabled now.

Hi @lowlandet,

The staging server URL is now redirecting to your live site. Can you please check that, and let us know when your staging server is ready to access.

Thanks

It should be working now.

Hey @lowlandet,

It’s mosts probably because you have an index.html file in your root or where you installed WordPress. Login to your server and delete the index.html.

If that doesn’t help, please give us FTP or cPanel access.

Thanks.

That solved the issue with Global Blocks.

Now, however my posts returns a 404: http://167.172.106.39/sprayer/commander-4500-l-36-m-twin-force-2/

Hi @lowlandet,

This might be the issue with your permalink setting, please reset once and check. To know how to change the permalink setting, please go through this article: https://www.inmotionhosting.com/support/edu/wordpress/reset-permalinks/

Hope that helps.
Thanks

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