The preview could not load. This is most often related to a plugin conflict or aggressive page cacheingg

Hey guys im getting this issue alot, sometime no and some days yes.
I dont understand why it is like this as i only have SEO by Yoas as an extra plugin installed.

Can you guys please have a look as its very irritating when you cant work on your site due to this isses.

Kind regards

Hey @nikish,

I opened your pages in Cornerstone and the issue seems to only happen in your home page. There is an Internal Server Error only in your home page. That is a generic message which only tells us that there’s something in the server causing this issue. It does not tell us specifically where.

I tried to find some clues and what I found though your max memory is high, there’s a limit of 40M only. Please try adding this code in your wp-config.php

define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '512M' );

This could also be a timeout issue, please contact your host to increase your Max Execution Time to 600 seconds.

If you’ve done that and they don’t help, please give us FTP access as well.

Thanks.

Thanks Christian i will ask them :slight_smile:

Let us know how it goes :slight_smile:

So my provider did the updates, still getting the same error.

Hi Niklas,

Upon testing your site, now I see that Cornerstone is working on some pages. When editing your homepage, I see there’s 500 internal server error. See secure note for both working and non working screenshots.

Can you please enable your WP_DEBUG mode on your WordPress and report back to us. So that we should be able to see the actual PHP error causing internal server error.

Thanks!

WP_DEBUG is now enabled

Hi @nikish,

Would you mind providing your FTP login credentials? Or please provide the file /wp-content/debug.log content in a secure note. It will only enable the WP_DEBUG, but we must get the what’s being logged too.

And please try duplicating your homepage or save it as a template as a backup. Then do a trial and error of deleting the element at a time while testing if the issue disappears. If it disappears then the last element that you deleted is the culprit. Some of this errors are caused by the content due which may be triggering some security rules of our site.

Thanks!

added in secure note above

Hi @nikish,

I like to check the logs but I’m not really sure which folder as there are multiple folders with the same name. And where did you enabled the WP_DEBUG, I checked and none of them is set to true, but I enabled it with logging and no log is recorded. Perhaps you can point me to the correct folder?

Thanks!

Hey my host provider says

./casinoorbit-com/wp-content/debug.log
I can see under this directory

define(‘WP_DEBUG’, true); I can see under the WP-confing.php

In regards to:
"And please try duplicating your homepage or save it as a template as a backup. Then do a trial and error of deleting the element at a time while testing if the issue disappears. "

I cant do this because cornerstone wont let me edit, Im stuck.
And its a bit sad when you pay for a premium template.

Kind regards

Hi @nikish,

What I’m saying is duplicating your home page as a template as a backup (you’ll see that I already saved it in the template named X TEST), then import it to another site ( staging ) for testing, deleting each element. You don’t have to edit your actual homepage in your live site.

And you can also edit existing elements through skeleton mode, like in this screenshot

And this issue is due to internal server error, and not because of the builder. It can’t load the request as the server respond with an internal error. It will happen to any builder affected by host environment issue.

And yes, it’s the folder I checked and there was no debug.log, so perhaps there is something in your host like caching that prevent changes to take effect instantly.

And the debug.log has no error so this is probably content related since it’s being triggered within the callback of jQuery.js. That’s a browser script so it shouldn’t trigger the error unless the host trigger it intentionally due to content (security).

Is there a way we can continue the troubleshooting in a staging copy of your site? I like to disable everything while troubleshooting and can’t do that since it’s live.

Thanks!

you can do any thing you want :slight_smile: as long as i can get started with my site

Hi @nikish,

Thanks, looks like the culprit is one of your plugins. I deactivated them and it starts working.

You could try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

Let us know how it goes!

Hey i did deactivate some plugins, but these are all plugins that came with the x-these installation.
the only 3 party plugin i have is seo by yoast.

looks like it works now actually, but you guys might need to check if the plugins you get when buying x-theme is kompatiblare

kind regards

and thank you guys for all the assitanse

Hi @nikish,

They are compatible, but as I said before, it could be due to cache since the changes won’t take effect instantly. Deactivating the plugin may also clear the cache specific to them (transients).

Glad it’s working now.

Thanks!

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