On line 543 of /libraries/joomla/installer/adapters/template.php there is a call to the $lang object, but that object doesn't exist. Within the discover_install() function, there is no call to $lang = JFactory::getLanguage(). This causes the template install via Discover to fail. The template partially intalls, but no Style is created, so you can't actually use the template. To fix it, just add $lang = JFactory::getLanguage(); to the discover_install() function on line 503.
Call to member function of non-object: setDebug()
最新推荐文章于 2018-05-29 22:48:47 发布