Closed webrgp closed 3 years ago
So, apparently the issue is related to max_input_vars (which is capped at 1000). The entry in question had lots of blocks, and while debugging the Ajax call while trying to clone a block, I saw the error.
I've bumped the max_input_vars in php.ini to 3000 and that did the trick, but it's probably a good idea to investigate ways to post the block structure as a son string instead of posting vars.
This issue still persisting, in some random entries. Bumping max_input_vars helped, but a deeper look into it is needed.
@webrgp This is going to be a Craft issue, not Smith. We plan on switching all form submits over to Ajax requests in Craft 4 with JSON bodies, which will solve these sorts of issues.
And when that might be ;-) ?
This also seems to be because Smith is trying to include config information about the field, which includes a list of blocks, by ID, for every block of that matrix field across the whole site. See this bit from the Firefox dev console showing the contents of the request:
That config continues on for about 13000 blocks, in this particular site's case.
These issues should be all fixed in 1.1.9
Description
I have a Matrix field with a complex block that I can't past or duplicate. Other "simpler" blocks still function as expected.
Steps to reproduce
Additional info