Sunday, September 29, 2019

Wordpress, Gravity form - GFCommon::encrypt() is deprecated since version 2.3! Use GFCommon::openssl_encrypt() instead.

After updating  the gravity form ,I’m receiving a few error messages:

Notice : GFCommon::encrypt() is deprecated since version 2.3! Use GFCommon::openssl_encrypt() instead. in /home4/sunshine/public_html/wp-includes/functions.php on line 4435

Deprecated : Function mcrypt_get_iv_size() is deprecated in /home4/sunshine/public_html/wp-content/plugins/gravityforms/common.php on line 5399

Deprecated : Function mcrypt_create_iv() is deprecated in /home4/sunshine/public_html/wp-content/plugins/gravityforms/common.php on line 5402

Deprecated : Function mcrypt_encrypt() is deprecated in /home4/sunshine/public_html/wp-content/plugins/gravityforms/common.php on line 5402

Solution - 

That indicates the reCAPTCHA field is using the old stoken integration method. To upgrade it to use the newer integration method you need to generate new reCAPTCHA api keys for your site and add them to the Forms > Settings page.

That should take care of it for you.

No comments: