Skip Navigation

[Résolu] Error after saving changes in Layout

This support ticket is created Il y a 5 années et 8 mois. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Ce sujet contient 6 réponses, a 2 voix.

Dernière mise à jour par toolset-dave Il y a 5 années et 7 mois.

Assisté par: Beda.

Auteur
Publications
#1223241

Hi,

I am getting this error after clicking on Save in Layouts backend editor: "There was an error during the ajax request, make sure the data you send are in json format." and also any changes are not saved. I have tried to edit it in another browsers, but same result.

#1223334

This can be due to several things

1. Bad or unsteady internet connection (3G, unsteady 4G, unsteady landline)
2. Another Plugin blocking AJAX requests (usually it'll throw a JS error in the console)
3. The server blocking or breaking AJAX requests
4. JS Code in the Layout (text editor, content template cell, etc) that is malformed and breaks the request as well

I see there is actually a JS error on the site, which might be due to any 3rd party Plugin or Theme.
Can you try with the basic steps of disabling those and also eventually try another ISP connection to see if any of the above points is the issue?

#1223497

Hi,

thanks for help. I have tried several things and I have found out that it is caused when WP Rocket plugin is activated.

#1232745

We could reach out to them and try to find a solution.
If you agree, please can you reply me with contact details, eventual threads opened for the issue in their forums, so I cn reach out?

#1237654

Hi Beda,

there were some updates of the plugin, so it seems to be OK now. But I have found that there were similar issue with this plugin last year https://toolset.com/forums/topic/wp-rocket-conflict-with-toolset/

#1238551

Great to hear it's resolved.

Do you mean that https://toolset.com/forums/topic/wp-rocket-conflict-with-toolset/ is still replicable for you?
I think it would be good to then re-report this as Luo never received the required details to replicate it:
https://toolset.com/forums/topic/wp-rocket-conflict-with-toolset/#post-746423
Also, I'd then need these details I requested here:
https://toolset.com/forums/topic/error-after-saving-changes-in-layout/#post-1232745

Many plugins can generate this issue, since if they block AJAX scripts or malformed them, then many AJAX relying on plugins will fail
So, in this case, it could be that at some point it got resolved but then re-introduced later.

#1238606

Hi Beda

if I register the same behaviour I will let you know.

For your request, they do not have a forum, but the ticket system which is open to public lien caché