Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #224389

    I am getting a space limit on the website saying that it’s limited to 1000. Where do I find the variable ‘max_input_vars’? I do not see a php.ini file included with the theme.

    #224460

    Hi!

    By space limit i guess you mean disk space (max_input_vars has nothing to do with that), you’d need to contact your host provider about that.

    Regards,
    Josue

    #224593

    Thanks. I had already done that before writing support. The folks at GoDaddy say they do not have a php.ini file on the server (I have no way to see beyond my shared hosting folder). Often when I download a theme it will have its own php.ini file but Enfold does not. Am I able to just create my own php.ini to add memory for that parameter? The megamenu folks are suggesting 3000 instead of 1000.

    #224594

    Hi!

    You can use the ini_set directive, try putting this on functions.php:

    @ini_set('max_input_vars', '3000');
    

    Best regards,
    Josue

    #225300

    Thanks. I ended up creating a local php.ini file instead and that seems to work.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘max_input_vars Error’ is closed to new replies.