Hello,
Joomla: 4.1.5
template: estate 2.0.0
Property page doesn't work after recaptcha turned on.
Error without debugging: Class 'JDispatcher' not found
Errors with debugging: JROOT/templates/shaper_estate/html/com_spproperty/property/default.php:443
442-446 lines:
JPluginHelper::importPlugin('captcha', 'recaptcha');
$dispatcher = JDispatcher::getInstance();
$dispatcher->trigger('onInit', 'dynamic_recaptcha_spmedical');
$recaptcha = $dispatcher->trigger('onDisplay', array(null, 'dynamic_recaptcha_spmedical', 'class="spproperty-dynamic-recaptcha"'));
UPD:
without template overwrites:
error:
JROOT/components/com_spproperty/views/property/tmpl/default.php:415
PluginHelper::importPlugin('captcha', 'recaptcha');
$dispatcher = JDispatcher::getInstance();
$dispatcher->trigger('onInit', 'dynamic_recaptcha_spmedical');
$recaptcha = $dispatcher->trigger('onDisplay', array(null, 'dynamic_recaptcha_spmedical', 'class="spproperty-dynamic-recaptcha"'));
Help :)
Best regards,
Luke