Scusate, ho messo il codice dell'errore riga 137 sbagliato, questo è quello esatto:
//setting for registration
$usersConfig = JComponentHelper::getParams ( 'com_users' );
$enabledRegistration = false;
$viewName = JRequest::getVar ( 'view', 'registry' );
$enabledRecaptcha = 'none';
if ($usersConfig->get ( 'allowUserRegistration' ) && $params->get ( "enabled_registration_tab", 1 ) == 1 && ($viewName != "registration" || $integrated_com !='') ) {
$enabledRegistration = true;
$enabledRecaptcha = $params->get('use_captcha', 1) == 1 ? JFactory::getConfig ()->get ( 'captcha' ) : $params->get('use_captcha', 0);
if ($enabledRecaptcha == 'recaptcha') {
// create instance captcha, get recaptcha
$recaptchaPlg = JPluginHelper::getPlugin ( 'captcha', 'recaptcha' );
$recaptchaPlgParams = new JRegistry ( $recaptchaPlg->params );
$publicKey = $recaptchaPlgParams->get ( 'public_key' );
$captcha = JCaptcha::getInstance ( 'recaptcha' );
---> RIGA 137 $reCaptcha = $captcha->display ( $publicKey, '' );
}else if($enabledRecaptcha == 2){
$reCaptcha = modbt_loginHelper::getBuiltinCaptcha();
}
}
$language = JFactory::getLanguage ();
require (JModuleHelper::getLayoutPath ( 'mod_bt_login' ));
?>