简体   繁体   English

致命错误:无法访问EE2中的受保护属性EE_Output :: $ parse_exec_vars

[英]Fatal error: Cannot access protected property EE_Output::$parse_exec_vars in EE2

What does this error mean in 'expression engine 2'? 此错误在“表达式引擎2”中意味着什么? I get it when I try to access http://localhost/alias/blog/admin.php . 当我尝试访问http://localhost/alias/blog/admin.php时,我得到了它。

Fatal error: Cannot access protected property EE_Output::$parse_exec_vars in C:\web\blog\system\expressionengine\libraries\Core.php on line 423

If I comment out the line 423 it loads the control panel but none of the menu seems to work. 如果我在第423行注释掉,它将加载控制面板,但菜单似乎都不起作用。

You are using class EE_Output and try to use the value of parse_exec_vars . 您正在使用EE_Output类,并尝试使用parse_exec_vars的值。

But, because this is a protected proterty , it can only be accessed in the EE_Output class itself and derived classes . 但是,由于这是受保护的财产 ,因此只能在EE_Output类本身和派生类中进行访问。

You have not show any code, so I cannot go into detail, but this should get you going. 您没有显示任何代码,因此我无法详细介绍,但这应该可以帮助您。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM