[removed] !function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s[removed].insertBefore(t,s)}(window, document,'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '550537873994715'); fbq('track', 'PageView'); [removed] src="https://www.facebook.com/tr?id=550537873994715&ev=PageView&noscript=1" />
KOKA | ERP | CRM | POS | Software for Businesses
Request Free Demo
GST billing software | Invoice management | Koka Books
KOKA Books POS

Error while entering more than 70 item: “Undefined index : ” Problem when submitting a form

Stock Transfer

What is Stock Adjustment? And how to use it?

Reports

Adding & Editing Payment Method or Pay Via options (Custom payments)

[ADDON]: Accounting & BookKeeping Module/Addon

Frequenty asked questions, Common Issues & Errors.

Feature List for KOKAPOS

Mobile app KOKA POS

Error while entering more than 70 item: “Undefined index : ” Problem when submitting a form

Table of Content [hide]

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

error while entering more than 70 item

when i create purchase and add 70 items only 52 is saved other data is lossed

1. Solution

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.
Updated on September 26, 2025