There has been a critical error on this website [RESOLVED]

On the front end my forms no longer go to the confirmation message (just stays on the form and keeps spinning), but entries are logged. On the backend when I try to go into GF logging or form confirmations/notifications settings I get the WP error “There has been a critical error on this website. Please check your site admin email inbox for instructions.”

Since I can’t get to GF Error Log page all I have to work with is the WP email that gets sent out cause of the error…


Error Details

An error of type E_ERROR was caused in line 124 of the file /hermes/bosnacweb02/bosnacweb02cj/b1815/ywh.ch0098/wordpress/wp-content/plugins/gravityforms/includes/locking/locking.php. Error message: Uncaught Error: Call to undefined function ctype_alnum() in /hermes/bosnacweb02/bosnacweb02cj/b1815/ywh.ch0098/wordpress/wp-content/plugins/gravityforms/includes/locking/locking.php:124
Stack trace:
#0 /hermes/bosnacweb02/bosnacweb02cj/b1815/ywh.ch0098/wordpress/wp-content/plugins/gravityforms/includes/locking/class-gf-locking.php(48): GFFormSettingsLocking->get_object_id()
#1 /hermes/bosnacweb02/bosnacweb02cj/b1815/ywh.ch0098/wordpress/wp-content/plugins/gravityforms/includes/locking/locking.php(102): GFLocking->__construct(‘form_settings’, ‘bloodca.…’, ‘bloodca.…’, Array)
#2 /hermes/bosnacweb02/bosnacweb02cj/b1815/ywh.ch0098/wordpress/wp-content/plugins/gravityforms/includes/locking/locking.php(137): GFFormSettingsLocking->__construct()
#3 /hermes/bosnacweb02/bosnacweb02cj/b1815/ywh.ch0098/wordpress/wp-content/plugins/gravityforms/gravityforms.php(476): require_once(’/hermes/bosnacw…’)
#4 /hermes/bosnacweb02/bosnacweb02cj/b1815/ywh.ch0098/wordpress/wp-includes/class-wp-hook.php(307): GFF

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

That you for the support. That did the trick along with a PHP version downgrade to 7.3.