我们有一个 Magento 模块,可以在 50 多家商店中正常工作,并且在这个特定商店中也很好......但是在其中一个更新之后......不再加载模板,调用控制器,工作正常,但是页面不显示,这个问题只发生在模块上,网站的其他模板,工作正常......把商店显示错误,这是一个线索
可恢复的错误:Mage_Core_Block_Template 类的对象无法转换为字符串
我们还在 Mage_Core_Model_Layout_Update中输入了一个日志,并且出现了许多如下所示的错误。
2013-09-11T20:54:04+00:00 ERR (3): Recoverable Error: Object of class Mage_Adminhtml_Block_Page could not be converted to string in /home/toyshow/www/app/code/core/Mage/Core/functions.php on line 110
2013-09-11T20:54:04+00:00 ERR (3): Notice: Object of class Mage_Adminhtml_Block_Page to string conversion in /home/toyshow/www/app/code/core/Mage/Core/functions.php on line 110
2013-09-11T20:54:04+00:00 ERR (3): Recoverable Error: Object of class Mage_Adminhtml_Block_Page could not be converted to string in /home/toyshow/www/app/code/core/Mage/Core/Model/Layout.php on line 460
有过类似的问题吗?