In the Calendar.template.php should be replaced "substr" with "$smcFunc['substr']"
find
function template_show_month_grid($grid_name)
{
global $context, $settings, $options, $txt, $scripturl, $modSettings;
replace with
function template_show_month_grid($grid_name)
{
global $context, $settings, $options, $txt, $scripturl, $modSettings, $smcFunc;
find
substr($txt['days'][$day], 0, 1)
replace with
$smcFunc['substr']($txt['days'][$day], 0, 1)
This is related to Bug #3738: strlen and substr calls should by $smcFunc['strlen'] and $smcFunc['substr'] (http://dev.simplemachines.org/mantis/view.php?id=3738)
Quote from: Arantor on November 11, 2009, 10:52:31 AM
This is related to Bug #3738: strlen and substr calls should by $smcFunc['strlen'] and $smcFunc['substr'] (http://dev.simplemachines.org/mantis/view.php?id=3738)
It was reported in April and still not fixed.
Reason being there are some serious performance concerns with it.
I assume this bug was fixed?
Fixed for sure in trunk.