致命错误:无法覆盖最终方法 [英] Fatal error: Cannot override final method

查看:95
本文介绍了致命错误:无法覆盖最终方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在magento开发中我还很新:刚购买了自定义主题,安装主题之后,我在帐户页面上看到了下一条消息:

Im pretty new in magento developing: just bought custom theme and after its installation I've got next message on account page:

致命错误:无法覆盖第39行上app/code/core/Mage/Catalog/Model/Product.php中的最终方法Mage_Core_Model_Abstract :: clearInstance()

Fatal error: Cannot override final method Mage_Core_Model_Abstract::clearInstance() in app/code/core/Mage/Catalog/Model/Product.php on line 39

我没有触摸任何核心文件.有人可以告诉我在哪里挖吗?

I didn't touch any core files. Could anyone tell me where to dig?

推荐答案

之前看到过APC的此问题,请将以下内容添加到apc.ini

Seen this problem with APC before, add the following to your apc.ini

apc.include_once_override=0

这篇关于致命错误:无法覆盖最终方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆