Locate your running php.ini for your selected project where you getting this error. Then simple add this below code inside your php.ini file. Hope this will solved your problem.
# Change 2000 to your value with you want
php_value max_input_vars 2000