Skip Navigation

[Resolved] Unable to edit template as it times out

This support ticket is created 3 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 5 replies, has 2 voices.

Last updated by beingk 3 years, 2 months ago.

Assisted by: Jamal.

Author
Posts
#2171765

A particular template times out when I try to edit it. I believe I may have caused the issue as I tried to create a second image slider in the same template by referencing the same custom fields (it was meant to be temporary, as I created the additional image fields for the new slider while editing the template, and they would only appear if I refresh the template, not just Update it). I am able to edit any other template except for this particular one. Switched the theme, Toolset Types on/off, tried different browsers, same result - the page/template times out.

Is it possible to restore a previous version of a template? I have direct access to the database, but can't figure out where the template data is stored.

Thank you!

#2171899

Hello and thank you for contacting Toolset support.

With access to the database, you can edit the content template, but you can't really get a previous version of it. The content templates are a hidden custom post type with slug "view_template". You can check it on the posts table and check its metadata on the postmeta table.

I suggest that you duplicate the content template, then open it and switch to the code editor. Try to locate the new slider that you added and remove it from the code, then switch again to the visual editor. If that fixes the issue, then use that content template instead of the original one. If it does not, I am afraid, you will have to rebuild it from scratch.

I hope this helps. Let me know if you have any questions.

#2171903

Thanks, Jamal. The browser shows the content and then totally stalls and I can't click on anything to switch to the code editor. Is there a way to construct the link pointing to a template with the code editor enabled?

#2171913

Would you allow me temporary access to your website to check this issue closely? Your next reply will be private to let you share credentials safely. ** Make a database backup before sharing credentials. **

Maybe there are some Javascript errors on the console that can help us understand the cause behind it.

#2171955

Thank you for the credentials. I see how this issue affects only that content template. There are no Javascript errors logged. However, all HTTP requests start to get stuck at some point. Check this screenshot hidden link

This means that the server is not completing the requests anymore, and that makes the page unusable. These kind of errors are hard to debug, because they can be caused by too many layers. The application layer(WordPress/Toolset) and the server layer(nginx, cache, etc.)

We can't really tell how Toolset is contributing to this without doing a few tests. This will include testing with(out) plugins and themes. And maybe testing the new versions of Toolset plugins. I wonder if you can provide a staging site where we can install/activate/deactivate plugins?

If that's not possible, can your hosting provider help you with creating a copy of this subsite? Otherwise, can we log in as super administrators to your network installation?

#2180655

My issue is resolved now. Thank you!