14
I can see that this problem is far too old but i recently had the exact same problem with line 93. I 've found the answer in
http://www.xoopscube.jp (i can't speak japanese btw) and it was quite enlightening...:
Replaced:
echo '<li>'.$module->getVar('name').' [<a href="admin.php?fct=tplsets&op=listtpl&tplset='.$tplsetname.'&moddir='.$moddir.'">'._LIST.'</a> (<b>'.$filecount.'</b>)]</li>';
with:
if (is_object($module)) {
echo '<li>'.$module->getVar('name').' [<a href="admin.php?fct=tplsets&op=listtpl&tplset='.$tplsetname.'&moddir='.$moddir.'">'._LIST.'</a> (<b>'.$filecount.'</b>)]</li>';
} else {
echo '<li>unknown ModuleDirname =' . $moddir . '['._LIST.' (<b>'.$filecount.'</b>)]</li>';
}
and the module with the problem is on air!