PHP Catchable致命错误:第23行的/home//public_html/modules/mod_yoo_login/helper.php中无法将类stdClass的对象转换为字符串
if($itemid = $params->get($type))
{
$menu =& JSite::getMenu();
$item = $menu->getItem($itemid);echo "<br>";
$url = JRoute::_($item->link.'&Itemid='.$itemid, false);
}
else
{
$url = JURI::base(true);
}
return base64_encode($url);
}
function getType()
{
$user = & JFactory::getUser();
return (!$user->get('guest')) ? 'logout' : 'login';
}
}