While porting an old Kirby-2 site to Kirby 3.5 and working my way up in steps (currently 3.4.5) i am now stuck with a wierd error when trying to change the status of a page in the panel:
“Pagination page 30 does not exist, expected 1-1”
or
"Pagination page 30 does not exist, expected 1-2
depending on which page of the set (56 pages, num: zero) i try to set the status of. I tried fiddling around with the sorting, removed all old pages and created only one page - no matter what i do i keep getting the error. The same error occurs on direct children of the page, but everything works on grand-children and any other page in the site.
Can anyone point me in a direction to what may cause this issue? thx!
the blueprint above is ‘space.yml’ - one of the pages of which i cannot change the status of. the children of these pages (exhibition) do show the same error. the grandchildren however (event) work fine.
do you need to see the blueprint of the parent as well (initiatives)?
btw. thanks for pointing out the title, removing it didn’t fix the error though…
yeah, i thought so, too…but my thinking was that moving up in steps is the best way to make such a leap in version-jumps and 3.5 has another set of breaking changes that i was trying to avoid for now. but maybe i have to go that route…
do you have a clue what the validation is meant for? can it be turned off via config?
and it works! thank you so much!!! ahhhh…that made my day, the bug was haunting me for days now!
i hate how blueprints tend to become messy and you stop seeing the wood because of all the trees!
With the limit property you control the number of items per pagination page. page, however, sets on which pagination page the section should start, in case you don’t want to start on the first pagination page for whatever reason. But unless you have 900 pages (30 pages per pagination page), settings it to 30 will of course fail.
haha…the more often you read it the more cryptic it becomes!
i think the naming of the options is also misleading here. i would think “limit” is the ultimate maximum of pages you can create or show, maybe “pagesize” would be better for what it does