Search code examples
phpdrupaltwitter-bootstrap-3drupal-7

Call to undefined function bootstrap_form_process() in Drupal 7 with Bootstrap 3 theme


Steps to reproduce:

  1. Bootstrap 3, Drupal 7 Theme - latest versions
  2. Edit a form
  3. Change something and save it

PHP fatal error occurs:

PHP Fatal error:  Call to undefined function bootstrap_form_process() in mydirectory/includes/form.inc on line 1850 

I'm using latest version of Bootstrap Theme. It works fine with Bartik theme. Is this somehow related to https://www.drupal.org/node/2156371?


Solution

  • I had this issue, it was caused by the max_input_vars PHP setting not being high enough.

    Just open your php.ini and set this with a high number (or higher than the one you already have set):

    max_input_vars = XXXX