Magento: Cannot add new attribute option values or delete after adding too many values

I've been trying different fixes for the issue mentioned but the fix below is the best. To fix this issue, do the following in php.ini:

memory_limit = 256M
max_execution_time = 3600
max_input_time = 600
post_max_size = 512M
max_input_vars = 100000 = 100000
suhosin.request.max_vars = 100000

You may add some lines if they don't exist yet.

In CentOS, php.ini can be found in /usr/local/lib/php.ini.
In Ubuntu, it's residing in the following :

After modifying php.ini, please don't forget to restart Apache.

That's all!


Post a Comment

Popular posts from this blog

How to fix Cignal Top Box error - Please perform a smart card reset by removing your smart card for 15 seconds then reinsert the card. (1/2)

Magento: can't login to admin panel, can't add product to cart

Magento: How to fix "The requested URL /index.php was not found on this server" error