Theme x pro: Error when editing page

When I try to edit a page it constantly says this error:

And after that, this:

I already deactivated my W3 total cache plugin and also deleted my browser cache.

After that, it sometimes load the page perfectly so I can edit the page but 50% of the time it does not load the page so I can’t edit anything.

Hey @djinnie,

This might be related to this https://theme.co/apex/forum/t/theme-x-pro-cant-access-templates/15468. Let us try to solve that one first.

Thanks.

Hi there,

For the first error while W3TC is active, please implement the fix mentioned here https://theme.co/apex/forum/t/the-preview-html-did-not-include-a-closing-html-message/14443

As for editing issue, would you mind updating your PHP to 5.6 or greater? It still in 5.4 which some features that the theme and other plugins may not perfectly work due to PHP version. Plus, it’s the recommended version.

And while I’m checking it, the site went down with this message

Fatal error: require_once(): Failed opening required '/home/p31595/domains/puppygroep.nl/public_html/testrobbin/wp-load.php

One of the WP core files are missing, are you currently updating or editing your site files? In that case, please let us know when you’re done.

And in the meantime, please try implementing this https://technumero.com/enable-keep-alive/. Your site’s Keep-Alive timeout is just 1 second, which may be, there is not enough time for the preview to render once it passed 1 second.

Thanks!

I added the line, see print screen below.

The HTML error is gone but the the other error is stillt here:

You’re saying that I should implement ‘enable keep alive’ but those solutions are very technical… I’m not a tech savy person so I can’t edit .htaccess and those other things… I can install a plugin… add some code somewhere if you tell me where to add it exactly but that’s it…

PS: i’m done editing my staging site.

You can contact your host to help you on this one and also modifying your htaccess.

Have you also done what @Rad has suggested?

Thanks.

Just sent a msg to my host regarding PHP to 5.6 or greater.

Regarding the other issue; Keep-Alive. What should I tell my host? You’re telling me my site’s Keep-Alive timeout is just 1 second. What should it be instead? Because they don’t give any advice on how much it should be in https://technumero.com/enable-keep-alive/.

Thanks.

Hi there,

In the above reference, you will see a section where it configured Apache settings. For example check the following line:

MaxKeepAliveRequests 100

Refer to the following similar article which explain it clear (https://www.giftofspeed.com/enable-keep-alive/).

Thanks!

Just had contact with my host.

My host is now PHP 5.6 or greater. Also my host added the following code to htaccess:

Header set Connection keep-alive

But ‘The preview was unresponsive after loading. This is most often related to a plugin conflict or aggressive page cacheing.’ is still there. Not always! Only sometimes… same as with this error https://theme.co/apex/forum/t/theme-x-pro-cant-access-templates/15468/8 (also sometimes and not always).

Hi There,

This Header set Connection keep-alive only enabled but let’s try to increase the allowed number of request as suggested by @mldarshana. See this too: https://varvy.com/pagespeed/keep-alive.html

I asked this question to my host but to do this I need to upgrade to a new level of server where I have my own server because this ‘increasing allowed number of request’ also applies for other people on the same server as me right now.

I don’t think this should be necessary in order to create a working Theme X template, right? Also, this problem started when upgrading to X Pro.

Hi There,

Upon testing, I see that you have a SSL certificate related issue (check secure note).

Did you change your login credentials ? as I’m getting the following error.

FOUT: Het wachtwoord ingevoerd voor de gebruikersnaam admin is incorrect.

Thanks!

Hi,

Yes that could be. I’m sorry. Please see secret note.

Hi there,

Are you still having this issue?

I tried to login and checked the homepage in the Pro Builder and it seems to be loading fine:

Still having this issue. The issue is not always there.

I just exported a template from my .NL website and imported it to my .COM website where I’m testing Theme x PRO. This .COM site is hosted @ Bluehost. The same problem occurs on my .COM website. So we can conclude its not a hosting problem, right?

Hi There,

This sounds that your site is reaching its PHP Memory Limit, lets try to increase that. Add this on your wp-config.php file located at the root directory of your site.

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

You can add it just before the line:

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

This makes sense since you have a handful of plugins running. And have you done a plugin test yet? I see an error on your site that with regards to MailChimp. Also, deactivate the plugins that are not necessary on your site to reduce its load.

Hope it helps,
Cheers!

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