Grav

Remove the dumb limits on content

For some reason, Grav 1.7.32 has added a default max size of 65536 bytes for text (multiline) and textarea fields of pages. Admin fails when adding larger content sizes because of this validation, however, Grav itself seems to be functioning fine with larger content sizes.

To remove these limits, edit the file system/src/Grav/Common/Data/Validation.php

 252 │ $max = (int)($params['max'] ?? ($multiline ? 65536 : 2048));

to

 252 │ $max = (int)($params['max'] ?? 0);

Source
Commit