I wished to rectify this error. On a working site debugging is switched off.
Warning: Class 'XoopsTree' is deprecated, check 'XoopsObjectTree' in tree.php in file /class/xoopstree.php line 45
(e.g. C:/AppServ/www/mydatafolder and C:/AppServ/www/mylibsfolder)
function mymodule_updateCache(){
global $xoopsModule;
include_once XOOPS_ROOT_PATH.'/class/template.php';
$xoopsTpl = new XoopsTpl();
$folder = $xoopsModule->getVar('dirname');
$xoopsTpl->clearCache($folder);
}
Unknown: Assigning the return value of new by reference is deprecated in file /header.php line 60
Unknown: Assigning the return value of new by reference is deprecated in file /class/xoopsblock.php line 464
Unknown: Assigning the return value of new by reference is deprecated in file /class/xoopsblock.php line 514
Unknown: Assigning the return value of new by reference is deprecated in file /class/theme.php line 73
Unknown: Assigning the return value of new by reference is deprecated in file /class/theme.php line 196
Unknown: Assigning the return value of new by reference is deprecated in file /class/theme.php line 248
Unknown: Assigning the return value of new by reference is deprecated in file /class/theme_blocks.php line 90