A user recently found an issue with IndexU Deluxe that resulted in the following error

Fatal error: Call to undefined function mb_detect_encoding() in /home/seccinc/public_html/new/lib/gettext/gettext.inc on line 101

The solution is to add this to gettext.inc

// PATCH

if (!function_exists(’mb_detect_encoding’)) {

// We’re on an aged PHP version

function mb_detect_encoding($text) {

return ‘UTF-8′;

}

function mb_convert_encoding($text,$target_encoding,$source _encoding) {

return $text;

}

}

// EINDE PATCH

Issue and solution found by secero

Note - This issue is actually caused by mbstring not being compiled into PHP. This would typically be the fault of the host or provider as mbstring is commonly compiled into PHP by default.