7
Whooops, sorry about that. wrong changes!
Here is the correct one.
Replace those changed files back to the original versions and modify xoops_version.php at line 38:
replace that line with
$result2 = $xoopsDB->query( "SELECT CID, pagetitle, defaultpage FROM " . $xoopsDB->prefix( "wfschannel" ) . " WHERE defaultpage = '0' AND submenu = 1 ORDER BY weight" );
And it should work as expected