wordpress - WP ACF plugin max_vars issue (PHP suhosin) -


i have problem advanced custom fields plugin in wordpress site. when tried add 15th field wp redirects me posts instead of saving field. it's server issue beacuse i've cloned wp database server , works fine.

i've found tutorial on mentioned server haven't got php suhosin support, , don't know how solve this.

do knows workaround solve issue ? i've tried both php.ini , .htaccess methods.

overview ordinarily misconceived there's limit on amount of fields you'll increase field cluster. acf doesn't contain limit, however, server contain limit on percentage variables used on every page.

to ingeminate, acf isn't limiting amount of fields you'll save, instead, server terminating save method before acf end it’s job.

the common answer extend max_vars setting. {this is|this often|this often} php setting determines percentage variables can employed in 1 page load. increasing limit, you'll enable acf finish it’s job.

php.ini can increase setting making php.ini file. file exist on server, it's possibly you'll have compelled produce yourself. please note internet host happy assist produce file, therefore please contact them if run difficulties. in php.ini file, you'll add raise limit 3000

max_input_vars = 3000 suhosin.get.max_vars = 3000 suhosin.post.max_vars = 3000 suhosin.request.max_vars = 3000 

htaccess if doing not want make php.ini file, it's additionally doable update these settings via .htaccess go in basis of web site folder. methodology less complicated, it's going not work on servers. please contact them if run difficulties.

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 

Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -