• Resolved digitaldumpstation

    (@digitaldumpstation)


    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 to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hi @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

    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

    (@digitaldumpstation)

    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.