This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

neilcarpenter
neilcarpenter

I'm using October 465 build and Static Pages version 1.2.21

I've got an issue where when I add new items to a static menu and hit save; the menu.yaml file isn't saving properly and items are being trimmed off the end.

I thought there might be a limit on the yaml file size as it's quite a big menu but someone else in the community said they have one with much more items and don't have the same problem.

I've used console.log in pages-page.js to check that the data exists in the result variable, and that it is being posted and the new menu items are there...

However, inside static pages index controller's onSave() method ... I dd() the post() data there and the items were missing.

So, somewhere in between the form submitting client side, and the data being received server side - some funky shit's getting weird and I have no idea what it is. Any ideas?

Has anyone else come across this problem before?

Last updated

neilcarpenter
neilcarpenter

Fixed.

If anyone comes across this issue themselves, you'll need to increase the max_input_vars value in your php.ini settings.

https://github.com/rainlab/pages-plugin/issues/422

JenniferLopez
JenniferLopez

As @neilcarpenter has indicated, this is a known issue: https://github.com/rainlab/pages-plugin/issues/422

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.