Hi. After updating my Kirby site from 2.4.0 to 2.4.1 I get “An unexpected error has occurred” error when I go to save longish posts with more than say 500 characters.
I’m only using a title and textarea field and haven’t set any character limits. Also, I’m not using any plugins and everything else seems to be working well.
I’m wondering if someone might know what’s happening?
Do you use any hooks, maybe?
Is there maybe any more information in the dev console?
Could the text format be the problem?
In my console I get
<title>403 error - Forbidden</title>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-JP" />
<meta http-equiv="Content-Style-Type" content="text/css">
.css" rel="stylesheet" type="text/css">
What do you mean with “text format”?
Just to make sure: It’s not that you can save anything, it only happens with some pages?
This seems to be a permission problem. Have you checked the folder rights to make sure you can write to them?
Maybe also check the error log on your server, maybe there is more information in there.
Yes, it only happens with some pages and I have deduced that words in curved brackets cause the error. I can recreate the error in pages that save normally by inserting () anywhere in a textarea field.
Strangely, it seems that other characters or combinations of characters are having a similar affect. At first I wondered if characters or spaces from a Japanese word editor may be causing the problem but converting and cleaning the text made no difference.
No PHP7 errors are being logged and everything in my site and content directory is 755.
I seems some people had a similar problem before, in one case it disappeared on its own after a week, in the other case a backup was used: “An unexpected error occurred” when editing+saving content, even as Admin
Thanks for your help, I’ll wait and see what happens.