cancel
Showing results for 
Search instead for 
Did you mean: 

Class Magento\\Captcha\\Model\\Recaptcha does not exist

SOLVED
Highlighted

Class Magento\\Captcha\\Model\\Recaptcha does not exist

I get an error when logging in admin.:

 

Report says: "0":"Class Magento\\Captcha\\Model\\Recaptcha does not exist","1":"

 

When I disable Magento Captcha module backend login works but checkout does not work.

 

I upgraded from 1.9.4 to 2.3.4. How do I solve this issue?

 

Core_config_data.admin/captcha/enable = 0

cache = clear

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Class Magento\\Captcha\\Model\\Recaptcha does not exist

I have removed the line customer/captcha/type in table core_config_data.

 

Now Captcha works and the errors are gone.

View solution in original post

4 REPLIES 4
Highlighted

Re: Class Magento\\Captcha\\Model\\Recaptcha does not exist

In my database table core_config_data there is a line. customer/captcha/type it says recaptcha. This line causes my problem. There is another line. admin/captcha/type its says zend. They probably come from migration from magento 1.9.4.

 

What do they have to be in Magento 2.3.4?

Highlighted

Re: Class Magento\\Captcha\\Model\\Recaptcha does not exist

Hello @Bengideon 

 

It is better to find the file where captcha is called.


I think vendor\magento\module-captcha\view\frontend\layout\checkout_index_index.xml is used to call captcha in the checkout page. You can find the solution in this file.

 

I hope it helps.

Problem solved? Click "Accept as Solution"

Re: Class Magento\\Captcha\\Model\\Recaptcha does not exist

I have removed the line customer/captcha/type in table core_config_data.

 

Now Captcha works and the errors are gone.

View solution in original post

Highlighted

Re: Class Magento\\Captcha\\Model\\Recaptcha does not exist

my magento 2.3.5-p1

 

Magento no acess admin a user area, 

Class Magento\Captcha\Model\Recaptcha does not exist

 

error in var/log/exception.log

 

(ReflectionException(code: -1): Class Magento\\Captcha\\Model\\Recaptcha does not exist at

disable paypalReCaptcha

 

 

bin/magento module:disable Magento_PaypalReCaptcha

disable Google Recaptcha

 

 

bin/magento module:disable MSP_ReCaptcha

acess admin ok.. 

 

 

enable ReCaptcha only

 

bin/magento module:enable MSP_ReCaptcha

 

 

:-)