Call to member function of non-object: setDebug()
2012-06-02 19:47
381 查看
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.
相关文章推荐
- Fatal error: Call to a member function getSource() on a non-object in G:\wamp\www\ChinaMagicCube\ap
- Ecmall 遇到错误Fatal error: Call to a member function get() on a non-object
- Wordpress PHP Fatal error: Call to a member function get() on a non-object 解决方法
- Fatal error: Call to a member function getSource() on a non-object in G:\wamp\www\ChinaMagicCube\ap
- 使用TP3.2框架时遇到Call to a member function assign() on a non-object
- Ecmail Call to a member function get_users_count() on a non-object解决方法
- Fatal error: Call to a member function getData() on a non-object in /data/php/framework/exts/zii/wid
- 【TP3.2】Call to a member function display() on a non-object问题的解决
- Fatal error: Call to a member function getSource() on a non-object in G:\wamp\www\ChinaMagicCube\ap
- Fatal error: Call to a member function getSource() on a non-object in G:\wamp\www\ChinaMagicCube\ap
- dedecms中自定义模型遇到错误Fatal error: Call to a member function GetInnerText() on a non-object
- Fatal error: Call to a member function table() on a non-object in
- Fatal error: Call to a member function getSource() on a non-object in G:\wamp\www\ChinaMagicCube\ap
- Fatal error: Call to a member function getSource() on a non-object in G:\wamp\www\ChinaMagicCube\ap
- Call to a member function display() on a non-object问题的解决
- Fatal error: Call to a member function getSource() on a non-object in G:\wamp\www\ChinaMagicCube\ap
- Fatal error: Call to a member function generateDesignExceptionSub() on a non-object
- 解决ThinkPHP Call to a member function assign() on a non-object
- ECmall错误:Call to a member function get_users_count() on a non-object in /home/dmg/wwwroot/includes/ecapp.base.php
- Fatal error: Call to a member function getSource() on a non-object in G:\wamp\www\ChinaMagicCube\ap