Title: Forminator error when using PHP 7.4
Last modified: January 11, 2023

---

# Forminator error when using PHP 7.4

 *  Resolved [digitaldumpstation](https://wordpress.org/support/users/digitaldumpstation/)
 * (@digitaldumpstation)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/forminator-error-when-using-php-7-4/)
 * My WordPress, plugins and theme (DIVI) are all up-to-date and my server is running
   PHP 7.4. I have done all of the standard trouble shooting steps including deactivating
   all of the plugins (except Forminator) and still get the following error … “An
   error occurred while processing the form. Please try again”.
 *  I can change the PHP version from 7.4 to 7.3 and just hit the “submit” button(
   no page refresh or changing the form data) & resubmit the form with no errors.
   Below is the information from my debug file. Thank you in advance for your assistance.
 * [11-Jan-2023 07:49:31 UTC] PHP Fatal error:  Uncaught Error: Call to undefined
   function ctype_alnum() in /hermes/bosnacweb01/bosnacweb01/bosnacweb01bb/b1011/
   ipw.moseleymfbiz/public_html/wp-content/plugins/forminator/library/model/class-
   form-entry-model.php:113
 * Stack trace:
 * #0 /hermes/bosnacweb01/bosnacweb01/bosnacweb01bb/b1011/ipw.moseleymfbiz/public_html/
   wp-content/plugins/forminator/library/abstracts/abstract-class-front-action.php(
   1117): Forminator_Form_Entry_Model->__construct()
 * #1 /hermes/bosnacweb01/bosnacweb01/bosnacweb01bb/b1011/ipw.moseleymfbiz/public_html/
   wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.
   php(863): Forminator_Front_Action::get_entry()
 * #2 /hermes/bosnacweb01/bosnacweb01/bosnacweb01bb/b1011/ipw.moseleymfbiz/public_html/
   wp-content/plugins/forminator/library/abstracts/abstract-class-front-action.php(
   450): Forminator_CForm_Front_Action->handle_form()
 * #3 /hermes/bosnacweb01/bosnacweb01/bosnacweb01bb/b1011/ipw.moseleymfbiz/public_html/
   wp-includes/class-wp-hook.php(308): Forminator_Front_Action->save_entry(‘ in
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fforminator-error-when-using-php-7-4%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/forminator-error-when-using-php-7-4/#post-16362289)
 * Hi [@digitaldumpstation](https://wordpress.org/support/users/digitaldumpstation/)
 * I hope you’re well today!
 * This is directly related to the PHP 7.4 (or any other version that results with
   this error) configuration on your server. It needs to have the “Ctype” module
   enabled:
 * [https://www.php.net/manual/en/book.ctype.php](https://www.php.net/manual/en/book.ctype.php)
 * It’s not a very common error (as it’s quite a standard module) but not unusual
   either. If you are using cPanel with your hosting, you should be able to enable
   CType via PHP configuration settings in cPanel and that would solve the issue.
 * If you don’t have such option or can’t find it, please contact your host and 
   they should be able to do it for you.
 * Kind regards,
    Adam
 *  Thread Starter [digitaldumpstation](https://wordpress.org/support/users/digitaldumpstation/)
 * (@digitaldumpstation)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/forminator-error-when-using-php-7-4/#post-16363754)
 * Hello and thank you for the quick response. I added “extension=ctype.so” to the
   end of the php.ini. That resolved my issue. Thank you

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Forminator error when using PHP 7.4’ is closed to new replies.

 * ![](https://ps.w.org/forminator/assets/icon-256x256.gif?rev=3443182)
 * [Forminator Forms – Contact Form, Payment Form & Custom Form Builder](https://wordpress.org/plugins/forminator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forminator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forminator/)
 * [Active Topics](https://wordpress.org/support/plugin/forminator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forminator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forminator/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [digitaldumpstation](https://wordpress.org/support/users/digitaldumpstation/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/forminator-error-when-using-php-7-4/#post-16363754)
 * Status: resolved