I have a repeater type field in my page which includes images, description fields..
I’ve been adding a list of information about films using thie repeater item without a problem so far.
But when I add 165th item and save the page, the page doesn’t actually save 165th item.
And the page gets really slow when it loads all 164 items.
Is this memory limitation related issue?
Is there any way I can solve this?
Yes, this is definitely a server limit of some sort. It could be PHP memory, or also the maxvars limit.
I would check your server logs and ask your host to have a look too.
As a long term solution, I would consider changing the way your data is structured. Perhaps using a post type for each row of repeater data and attaching the columns of meta as fields for each post object?
Thanks so much for your help.
My mySQL storage service seems to be unlimited.
I know this mgith be a non-ACF related question..
but is there a way to check maxvars limit in phpMyAdmin?
Where should I look into?
The reason why I chose this data structure is that I have more than 300+ items and each of them has relatively short information.
I didn’t want 300+ posts/pages in my page list.
Please let me know if you have any other idea.
Thanks a lot!
I can confirm that this is a maxvars issue. I have a repeater with just over 50 various fields. Adding additional fields outside of the repeater worked fine. Adding an additional field within the repeater caused some of the repeaters settings to revert.
For example the repeater layout reverted from “Rows” to “Table” and the button label reverted from my custom string to “Add Row” and I couldn’t save my desired settings unless I deleted one of the repeater subfields.
For those who stumble across this, I simply overrode PHP’s max_input_vars default (1000 I believe) in php.ini. 3000 did the trick for me.
I am not able to add more than 186 rows in a post or page with repeater fields plugin.
please guide me how can I disable this limit. “my server has unlimited space”
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2019 Advanced Custom Fields. Subscribe