Error “not JSON format” when saving in Gutternber
-
When multi_page=”yes” is used post/page cannot be saved – it show something like “Reply is not valid reponse in JSON format”
Any idea?
Thx
Daniel
-
When I inert:
[mctagmap multi_page="yes" show_navigation="yes"]into both a Gutenberg text block and shortcode block, I get no errors and it works as intended. I’ve done this on both a Post and Page type.https://passionwp.com/response-is-not-a-valid-json-response-error/
Have you looked into all the reasons for this error message?
Yes i did. And multi_page=”yes” cannot be in Gutternber post.
@medvidekpu I tested a clean install using 2022 theme with only this plugin activated and inserted the shortcode:
[mctagmap multi_page="yes" show_navigation="yes"]and I get no errors and the page displays as intended.Well, hard to have “clean install” i am afraid. But ok
[mctagmap hide=”yes” more=”⤵ Ukázat další” minimum_count=”1″ multi_page=”yes” show_navigation=”yes” responsive=”yes” columns=”4″ width=”170px” sort_alpha_groups=”a|á,c|č,d|ď,e|é|ě,i|í,l|’l,n|ň,o|ó,r|ř,s|š,u|ú|ů,y|ý,z|ž”]
This does not work even in clean install
Nor [mctagmap multi_page=”yes” show_navigation=”yes” responsive=”yes” columns=”4″ ]
not [mctagmap multi_page=”yes” show_navigation=”yes” responsive=”yes”]
this mctagmap multi_page=”yes” show_navigation=”yes”] – yes
this [mctagmap show_navigation=”yes” responsive=”yes”] – yesSo i guess someone who is authoer of this plugin can figure out why some combinations are fine, some not
@medvidekpu I am the plugin author.
Now that you posted your full shortcode I could find the issue. It was the combination of multi_page and responsive. So when you were saying multi_page doesn’t work, since there are some almost 1000 possible option combinations, well it’s really hard to try them all to achieve one result. multi_page by itself wasn’t the cause.
Anyways, please update to version 17.0.20 and let me know if that solves the issue.
👍 Yes, i later started testing some combinations as got suspicios it might be not just that one parameter.
OK, going to do update and test.
Saving is OK.
Not sure if multi_page does anything
is [mctagmap multi_page=”yes” show_navigation=”yes” responsive=”yes” columns=”4″ ] supposed to have mutiple pages? And i dont’s see navigation either
https://mctagmap.tugbucket.net/advanced-usage/multi_page-and-responsive/
That page has the updated plugin and seems okay. Do you have a link?
Weird – [mctagmap multi_page=”yes” show_navigation=”yes” responsive=”yes” columns=”4″ ] – does not show navigation in header
yours – [mctagmap show_navigation=”yes” multi_page=”yes” responsive=”yes” columns=”4″ width=”170px”] – does dhow navigation
Oh crap, i see it now
“yes” vs. ”yes” … somehow copying changed ” to ”
Now it works
And guess this editor changes all classic ” to those others …
classic = "yes"others ”yes”Curious how it will end (trying to show them with CODE)
-
This reply was modified 4 years, 3 months ago by
MedvidekPU.
-
This reply was modified 4 years, 3 months ago by
MedvidekPU.
-
This reply was modified 4 years, 3 months ago by
The topic ‘Error “not JSON format” when saving in Gutternber’ is closed to new replies.