cancel
Showing results for 
Search instead for 
Did you mean: 

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

SOLVED

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
Highlighted

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

3 REPLIES 3
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"
Highlighted

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