// Loop through existing questions
$sSql = 'SELECT * FROM `'.TABLE_PREFIX.'mod_accordion_questions` WHERE `section_id` = '.(int)$section_id.' ORDER BY `pos` ASC';
// Loop through existing questions
$sSql = 'SELECT * FROM `'.TABLE_PREFIX.'mod_accordion_questions` WHERE `section_id` = '.(int)$section_id.' ORDER BY `pos` DESC';
$topmenu = str_replace('</ul>X_X',$topmenu_extra.'</ul>', $topmenu.'X_X' );
//$topmenu = str_replace('</ul>X_X',$topmenu_extra.'</ul>', $topmenu.'X_X' );
$user_id = (int) $wb->getUserId();
Im Original steht da noch $user_id = (int) $wb->get_user_id();
Erzeugt dann folgende ErrorLog-MeldungQuoteThu, 16 Feb 2023 07:17:48 +0000 [E_USER_DEPRECATED] /framework/class.wb.php:[540] from /framework/class.wb.php:[540] trigger_error "invalid method call: bin\wb::get_user_id change it to getUserId()"