Users have been reporting this error and are unable to register or login even though "Spoof Checking" is disabled. I made these two changes to comprofiler.php and it seemed to resolve the issue. I hope this can be fixed in the core so I don't have to apply this fix every time I update!
Code:
// Joomla: 3.10.8
// Community Builder: 2.7.2+build.2022.04.04.14.48.13.82302828e
// PHP: 7.4.28
// SQL: 5.7.37
// components/com_comprofiler/comprofiler.php ~#1177
//$spoofCheckOk = false;
$spoofCheckOk = true; // -JM 2022APR06
if ( cbSpoofCheck( 'login', 'POST', 2 ) ) {
$spoofCheckOk = true;
}
//if ( ! $spoofCheckOk ) {
if ($spoofCheckOk == false) { // -JM 2022APR06
$_CB_framework->enqueueMessage( CBTxt::Th( 'UE_SESSION_EXPIRED', 'Session expired or cookies are not enabled in your browser. Please press "reload page" in your browser, and enable cookies in your browser.' )
. ' '
. CBTxt::Th( 'UE_PLEASE_REFRESH', 'Please refresh/reload page before filling-in.' ), 'error' );
return;
}