Is there any additional information in the console? Could you please post any files relating to this particular page ( blueprint, controller, template, snippets…
I’m experiencing the same issue using Kirby Version 3.5.6
and PHP 7.4 (FastCGI)
on Dreamhost.
In addition to the Exception: undefined The JSON response from the API could not be parsed
, The error with the browser console is:
Failed to load resource: the server responded with a status of 418 ()
The same problem does not appear locally for me Kirby Version 3.5.6
and PHP 7.4
I can’t seem to add attachments so posting the blueprint below:
title: Biography
icon: 👤
tabs:
solo:
fields:
solo:
extends: fields/bio
label: Solo Exhibitions
group:
fields:
group:
extends: fields/bio
label: Group Exhibitions
publishing:
fields:
artistbooks:
extends: fields/bio
label: Artist's Books and Projects
writings:
extends: fields/bio
label: Artist's Writings
monographs:
extends: fields/bio
label: Monographic Books
books:
extends: fields/bio
label: Books
catalogs:
extends: fields/bio
label: Exhibition Catalogs
awards:
fields:
awards_grants:
extends: fields/bio
label: Awards & Grants
curatorial:
fields:
curatorial:
extends: fields/bio
label: Curatorial Projects
# a simple form
misc:
label: Misc.
fields:
intro:
label: Introduction
type: textarea
width: 2/3
education:
extends: fields/bio
label: Education
bio:
label: Old Bio
type: textarea
size: small
disabled: true
Really?
Huh, so weird. With this turned off it works. Any idea why edits on this particular page in the panel are triggering a security issue?
Would posting error.log
be helpful? Here is an excerpt from the main error I’m seeing:
ModSecurity: Rule 397e56ac538 [id "942250"][file "/dh/apache2/template/etc/mod_sec3_CRS/REQUEST-942-APPLICATION-ATTACK-SQLI.conf"][line "292"] - Execution error - PCRE limits exceeded (-8): (null).
You will find some hints if you google this error. I’m not deep enough into server security to give you useful advice. Better contact support.
Will do - thanks for the initial response and info, super helpful in figuring out what was going on.