reCAPTCHA Settings for Gravity Forms Not Opening [RESOLVED]

I have Gravity Forms 2.6.4, WordPress 6.0.1, PHP 7.4.10 and use Betheme Child.

After opening settings under forms, I cannot click on the reCAPTCHA or REST API without receiving “There has been a critical error on this website. Please check your site admin email inbox for instructions.” I have disabled plugins, tried different browsers and cleared cache. Any other things to try? I finally have time to add the newest reCAPTCHA to my forms, but can’t do it.

Check the web server error log for what caused the critical error. WordPress also sends an email to the admin email address for the website. That email will contain the error message and stack trace. You will need to know what is causing the fatal error to fix it.

If you have already disabled all plugins, the next step is to try a default theme:

And if you are getting the critical error with no plugins other than Gravity Forms with a default theme like Twenty Twenty, then there could be an issue with the PHP configuration on the server.

If you’re not able to figure it out, please contact support:
https://www.gravityforms.com/open-support-ticket/technical/

Thank you.

Thanks for the response.

I do have an email with the below info. I have no idea what it means, other than it does show a stack trace.

An error of type E_ERROR was caused in line 164 of the file /hermes/walnacweb05/walnacweb05af/b1763/moo.nelsayed/wp-content/plugins/gravityforms/includes/locking/locking.php. Error message: Uncaught Error: Call to undefined function ctype_alnum() in /hermes/walnacweb05/walnacweb05af/b1763/moo.nelsayed/wp-content/plugins/gravityforms/includes/locking/locking.php:164

Stack trace:

#0 /hermes/walnacweb05/walnacweb05af/b1763/moo.nelsayed/wp-content/plugins/gravityforms/includes/locking/class-gf-locking.php(48): GFPluginSettingsLocking->get_object_id()

#1 /hermes/walnacweb05/walnacweb05af/b1763/moo.nelsayed/wp-content/plugins/gravityforms/includes/locking/locking.php(144): GFLocking->__construct(‘plugin_settings’, 'https://u2029192.ct.sendgrid.net/ls/click?upn=qdHzxhr2R1bURNjxBpKLoFt1r7fxBVEFktY1rGVJAr4-3DDYww_ihI3KbRY2lU1DD9dI1WqKTRqdlYc7QIzCeDPNpUxhhlpN-2FPb4a6jZYrF505YkVIar3xGx3-2F5dtY-2Fd-2FFTBTJFTsfrfURfRxP6-2B0Qcl5oi8cv8V5J9wVqFvkX0Mr0aEwtj8oB-2FuFGrDshAIDjwoHmknm59Ie2lTKWZbhbRCSWmN0PANcwK1VZ-2BS8tVYoNWuZlpDIe5Kfqsz4C5o75r71sGu2BvpooDA8xyv3-2BRBawaRQOZu-2FxB2aQNg5dGQOO6n6aTmWdLeZ6lbnb7mR0jBV1EVA-3D-3D 'https://u2029192.ct.sendgrid.net/ls/click?upn=qdHzxhr2R1bURNjxBpKLoFt1r7fxBVEFktY1rGVJAr4-3DwIsA_ihI3KbRY2lU1DD9dI1WqKTRqdlYc7QIzCeDPNpUxhhlpN-2FPb4a6jZYrF505YkVIar3xGx3-2F5dtY-2Fd-2FFTBTJFTmABlwcPBtAzI6-2FGA4OpRem7KfmkF6rrI81fTP3v-2FN9YTG0mnLZXRB5kxpfsuvBli1IGdF4wjeCT7U2O-2B1TJWftwInkz7UHoYIaSWET79-2B8V72VB4ICTDu-2BBcmEyI4vLDx-2BUUCFroBNVRGaZSaDeufbTvACIqqZmAhJT7dRPuX0VBtOiyaWRGLUXm5emFqK2IQ-3D-3D Array)

#2 /hermes/walnacweb05/walnacweb05af/b1763/moo.nelsayed/wp-content/plugins/gravityforms/includes/locking/locking.php(173): GFPluginSettingsLocking->__construct()

#3 /hermes/walnacweb05/walnacweb05af/b1763/moo.nelsayed/wp-content/plugins/gravityforms/gravityforms.php(476): require_once(‘/hermes/walnacw…’)

#4 /hermes/walnacweb05/walnacweb05af/b1763/moo.nelsayed/wp-includes/class-wp-hook.php(307): GFForms::init(‘’)

#5 /hermes/walnacweb05/waln

Contact your hosting provider and have them enable the PHP ctype functions for your site. PHP: Ctype - Manual

1 Like

Thank you Karl. Having my host turn on PHP ctype fixed my issue.