It is fixed, another plugin was causing an error with has_cap and than did it.
Another thing,
i got 18 text fields, 2 textarea, 1 images field, a repeater with textfield and checkbox and all those fields always save. only de the repeater field with the images in it loses data.
The weird thing that is happening is that when i fill in all the fields and lets say 20 images in my repeater field and save it it save all but it loses 8 images. than i add another 30 images so i got 42 imags in it i save it and than i got 35 images left and i can go on. if it would be a server problem would this be possible than?
Hi @elliot
I made a copy and the problem was gone on the local server.
still i cant find te problem on my hosting server, there is no error in the server log, i increased the input_vars but still no success.
you got any idea what could limit the server?
hi @elliot
Fieldnames:
voorraad_fotos -> voorraad_foto
The first is the repeater and the second an image field, thats all for the repeater.
The data is used for an custom post type.
The problem occurs always when i use the repeater,
input 4 images -> saves 3 images
input 15 images -> saves 11 images
input 26 images -> saves 20 images
I made an xml export of the custom fields you can find it here:
http://buitmediasolutions.nl/advanced-custom-field-export.xml
maybe there is something, hope you can help
Hi, @elliot
I got a response from my server provider and my settings in the .htaccess are correct and the server wont override these settings.
any idea what else the problem can be?
Hi, @elliot
I have contacted my server provider and waiting for response.
The website where the problem occurs is online for more than a year already and the problem just started last week, nothing changed in de names of fields so i think we can rule out that the string is to long to save into the DB.
hi @elliot
I think it isnt the same i already found the thread you send.
i added this to my .htaccess
php_value max_input_vars 5000
php_value suhosin.get.max_vars 5000
php_value suhosin.post.max_vars 5000
php_value suhosin.request.max_vars 5000
this didnt solve the problem
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.