1. Home
  2. Docs
  3. UltimatePOS
  4. Technical
  5. “Undefined index : ” Problem when submitting a form

“Undefined index : ” Problem when submitting a form

“Undefined Index: “ error happens when you submit a form with long input fields or many rows in it.

Solution 1: 

Increase the max_input_vars variable in your php.ini file.  For technical details Refer to official PHP documentation
There are a few possible ways to do this:

  1. Edit the php.ini file and change the value of max_input_vars to something higher like 5000.
  2. Or change it from .htaccess file by this statement: (more details here)
    php_value max_input_vars 5000
  3. If the above 1,2 didn’t work then contact your hosting provider to help you change the ini file variable.
Was this article helpful to you? Yes No