Suhosin.post.max_vars = 5000 suhosin.request.max_vars = 5000
... / Suhosin.post.max_vars = 5...
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

Suhosin.post.max_vars = 5000 suhosin.request.max_vars = 5000

by
MorganeT
Created on 2020-01-31 16:54:16 (edited on 2024-09-04 11:38:41) in Stockage et sauvegarde-old

i'm a novice. WordPress by default has a limited number of menu items. When I import a demo content, which contains a lot of menu items, i'm not be able to save changes i make to a menu. The helpcenter for this template says to fix this problem by puting the following line : 'suhosin.post.max_vars = 5000 suhosin.request.max_vars = 5000'' to the ini.php file, the hosting can do it because I can't find the ini.php file...


2 Replies ( Latest reply on 2020-01-31 21:01:24 by
MorganeT
)


suhosin.request.max_vars


Hi,

Try to put this into your .htaccess file in the web root folder:

php_value suhosin.post.max_vars 5000
php_value suhosin.request.max_vars 5000
# ~~start~~

Thank you, I don't have access to php.ini or .htaccess because i'm hosting by OVH but I tried to create a file named php.ini to the root with the code : suhosin.post.max_vars = 5000 suhosin.request.max_vars = 5000... I read that it could work but i don't know at this moment if it works better... If it doesn't work i will tried your solution by recreating a file named .htaccess with your code.