You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is probably minor. On my development server, if I validate the hcaptcha and then stop the execution on a debug break point. Then resubmit, I get an error 0 for "The CAPTCHA was incorrect". It probably will not come up in the wild, but it would be nice to catch the error or get a message back instead of throwing the exception.
Error: 0
You may not be able to visit this page because of:
an out-of-date bookmark/favourite
a search engine that has an out-of-date listing for this site
a mistyped address
you have no access to this page
The requested resource was not found.
An error has occurred while processing your request.
Please try one of the following pages:
[Home Page](https://mydevserver.pc/index.php)
[Search this site](https://mydevserver.pc/index.php?option=com_search)
If difficulties persist, please contact the website administrator and report the error below..
I tried to reproduce your issue but am unable to reproduce it.
Locally I use docker with containers for Apache 2, PHP 8.2 and MySQL 8.
I stepped through my code using PHPStorm and XDebug, set break points on every method.
However, I didn't get the error 0 for "The CAPTCHA was incorrect".
I'm closing this issue.
This is probably minor. On my development server, if I validate the hcaptcha and then stop the execution on a debug break point. Then resubmit, I get an error 0 for "The CAPTCHA was incorrect". It probably will not come up in the wild, but it would be nice to catch the error or get a message back instead of throwing the exception.
Error: 0
You may not be able to visit this page because of:
Please try one of the following pages:
If difficulties persist, please contact the website administrator and report the error below..
The CAPTCHA was incorrect
Call Stack
Function Location
1 () JROOT\plugins\captcha\hcaptcha\hcaptcha.php:178
2 PlgCaptchaHcaptcha->getResponse() JROOT\plugins\captcha\hcaptcha\hcaptcha.php:141
3 PlgCaptchaHcaptcha->onCheckAnswer() JROOT\libraries\src\Captcha\Captcha.php:261
4 Joomla\CMS\Captcha\Captcha->update() JROOT\libraries\src\Captcha\Captcha.php:216
5 Joomla\CMS\Captcha\Captcha->checkAnswer() JROOT\administrator\components\com_gwrequests\src\Service\HTML\MyHelper.php:605
6 MyBiz\Component\MyComponent\Administrator\Service\HTML\MyHelper->validateCaptcha() JROOT\libraries\src\HTML\HTMLHelper.php:307
7 Joomla\CMS\HTML\HTMLHelper::call() JROOT\libraries\src\HTML\HTMLHelper.php:150
8 Joomla\CMS\HTML\HTMLHelper::_() JROOT\components\com_mycomponent\src\Controller\MyController.php:39
9 MyBiz\Component\MyComponent\Site\Controller\MyController->step1() JROOT\libraries\src\MVC\Controller\BaseController.php:730
10 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT\libraries\src\Dispatcher\ComponentDispatcher.php:143
11 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT\libraries\src\Component\ComponentHelper.php:361
12 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT\libraries\src\Application\SiteApplication.php:218
13 Joomla\CMS\Application\SiteApplication->dispatch() JROOT\libraries\src\Application\SiteApplication.php:261
14 Joomla\CMS\Application\SiteApplication->doExecute() JROOT\libraries\src\Application\CMSApplication.php:306
15 Joomla\CMS\Application\CMSApplication->execute() JROOT\includes\app.php:58
16 require_once() JROOT\index.php:32
The text was updated successfully, but these errors were encountered: