Dear all,
I asked the support for help like two weeks ago. That didn’t work (yet). So to speed up to process I’m posting this issue on here.
I have searched for a solution on the internet and I can’t seem to find the solution to my problem. Before I start, the plugin worked before great without any issues.
But I found out after making some new repeater fields (got a lot of them) that they won’t save. The field that I didn’t touch in the ACF Custom Fields Group editor is still working. But the newly created fields won’t save.
What I did to try and fix this problem is the following:
I already tried to increase the max_input_vars in the PHP settings a few days ago.
his is how the php.ini file looks like:
upload_max_filesize = 128M
max_execution_time = 120
post_max_size = 228M
max_input_vars = 6000
date.timezone = “Europe/Amsterdam”
memory_limit = 768M
max_input_time = 120
zend_extension=/usr/local/php56/lib/php/extensions/ioncube.so
zend_extension=/usr/local/php56/lib/php/extensions/ZendOptimizer.so
suhosin.get.max_vars = 3000
suhosin.post.max_vars = 3000
suhosin.request.max_vars = 3000
Also, we have contacted our server hosting team (Siteground) and they have ensured us this way: “In this case, I would personally recommend to reach the devs of this plugin and ask them to further troubleshoot for you. As right now, I’ve increased all of the values to the maximum possible on a server level and for 99% of the plugins is plenty of “power”. That’s why please reach them back and ask for further instructions as currently on a server level everything is set correctly.”
The next step for me was to disable all plugins and narrow down the possible cause of this problem. Again nothing helped even with disabling all plugins except for ACF (what I need to work and where the issue is).
Also, I got the newest version of ACF so that cannot be the problem also?
I am hoping for a solution, here is a snippet of the code:
<!-- gerwin uitprobeersel !-->
<?php if( have_rows('product') ): ?>
<?php while( have_rows('product') ): the_row(); ?>
<div class="betonelementholder" id="<?php the_sub_field ('product_titel'); ?>">
<div class="betonelementboxen">
<a href="<?php the_sub_field ('product_link'); ?>">
<div class="betonelemtenboxleft">
<img src="<?php the_sub_field ('product_afbeelding'); ?>" title="<?php the_sub_field ('product_afbeelding_titel'); ?>" alt="<?php the_sub_field ('product_afbeelding_alternatieve_tekst'); ?>">
</div>
</a>
<div class="betonelementenboxright">
<figure>
<figcaption>
<h2>
<?php the_sub_field ('product_titel'); ?>
</h2>
<span class="sport_main_title_green">
<?php the_sub_field ('product_subtitel'); ?>
</span>
</figcaption>
</figure>
<div class="description">
<p>
<?php the_sub_field ('product_omschrijving'); ?>
</p>
</div>
<a href="<?php the_sub_field ('product_link'); ?>">
<div class="elementbutton">
<?php the_sub_field ('btn_text');?>
meer informatie
</div>
</a>
</div>
</div>
</div>
<?php endwhile; ?>
<?php endif; ?>
<!-- end gerwin uitprobeersel !-->
Hi-
Giant Images: Before and After
I have a Repeater field which contains a dropdown and three Flexible Content fields. The Flexible Content fields (are supposed to) each contain the same 5 layouts: title, blurb, image, video, button.
An example of the field layout I am going for “Field Name (Field Type)”:
Sections (Repeater)
Columns (Dropdown)
Column 1 (Flexible Content)
Title
Title (Text)
Blurb
Blurb (Textarea)
Image
Image (Image)
Link (URL)
Video
Video (oEmbed)
Button
Button Text (Text)
Button Link (URL)
Column 2 (Flexible Content)
Title
Title (Text)
Blurb
Blurb (Textarea)
Image
Image (Image)
Link (URL)
Video
Video (oEmbed)
Button
Button Text (Text)
Button Link (URL)
Column 3 (Flexible Content)
Title
Title (Text)
Blurb
Blurb (Textarea)
Image
Image (Image)
Link (URL)
Video
Video (oEmbed)
Button
Button Text (Text)
Button Link (URL)
After saving this, I end up with something like this:
Sections (Repeater)
Columns (Dropdown)
Column 1 (Flexible Content)
Title
Title (Text)
Blurb
Blurb (Textarea)
Image
Image (Image)
Link (URL)
Video
Video (oEmbed)
Button
Button Text (Text)
Button Link (URL)
Column 2 (Flexible Content)
Title
Title (Text)
Blurb (Textarea)
Image (Image)
Link (URL)
Video (oEmbed)
Button Text (Text)
Button Link (URL)
Blurb
Image
Video
Button
Column 3 (Flexible Content)
Notice how in Column 2, all fields have moved to be underneath Title and Column 3 is just empty.
I did some Googling around and saw mentions of max_input_vars
and upped that from 1000
to 3000
, but that seems to have made it even worse. The column fields will move to be inline with the column # dropdown field.
Hi,
I created the fieldgroup “Rahmenbedingungen” including five costum fields. All the same type etc.
But the 5th field “hallengroesse” is not shown in the frontend. For example:
http://handball-pro.de/passkontinuum-stossen/
I already added the code the .htaccess and created a php.ini:
php_value max_input_vars 3000
php_value suhosin.get.max_vars 3000
php_value suhosin.post.max_vars 3000
php_value suhosin.request.max_vars 3000
Thanks for your help.
Hi @elliot,
Just encountered a bug when saving values within a 2x repeaters and flexible content field. It says it saves fine, and appears to have saved. But then I left the options page (after saving), and then re-entered, and it didn’t actually save it.
Using Options, Flexible Content and Repeater plugins. Have tried disabling other plugins, just having ACF by itself – but didn’t change anything.
I’ve also tried flushing out post revisions, still no luck.
I’ve tried changing the PHP settings, including all of the below:
max_input_vars = 3000;
max_input_nesting_level = 128;
max_input_time = 300;
max_execution_time = 300;
post_max_size = 32M;
memory_limit = 300M;
But didn’t fix it unfortunately.
I will attach a private login example, so you can check it out.
Does anybody know a fix for this?
Kind Regards,
Matt