Skip Navigation

Fatal error when using third party plugins that include Recaptcha

Resolved

Reported for: Toolset Forms 1.9.5

Resolved in: 1.9.6

Symptoms

CRED includes support for Recaptcha in its forms. When using a third party plugin that also includes this same library, the servr will try to define the code for it twice, producing an error.

Workaround

This will be permanently solved in the next version of CRED. In the meantime, this patch can be applied by uploading the file it contains to replace the one with the same name, located in vendor/toolset/toolset-common/toolset-forms/js/recaptcha-php-1.11/recaptchalib.php.

If you are using other Toolset plugins, you will need to apply this same patch in the following locations:

  • For Types, in vendor/toolset/toolset-common/toolset-forms/js/recaptcha-php-1.11/recaptchalib.php.
  • For Views, in vendor/toolset/toolset-common/toolset-forms/js/recaptcha-php-1.11/recaptchalib.php.
  • For Layouts, in vendor/toolset/toolset-common/toolset-forms/js/recaptcha-php-1.11/recaptchalib.php.
  • For Access, in vendor/toolset/toolset-common/toolset-forms/js/recaptcha-php-1.11/recaptchalib.php.

Comments are closed