-1

我有一个 joomla 2.5 安装。我刚刚安装了社区构建器组件。当我尝试添加一个字段时,我收到错误消息:致命错误:调用未定义的方法 stdClass::onDisplay() in /home/sharpfoc/public_html/joomla16/libraries/joomla/html/editor.php on line 459 if任何人都知道如何解决这个问题,我们将不胜感激。谢谢。灵魂之眼

4

1 回答 1

3

编辑文件夹libraries/joomla/html中的文件“editor.php”

换了行

  $resultTest = $plugin->onDisplay($editor);

在第 261* 行之后

// Try to authenticate — only add to array if authentication is successful

 if (method_exists($plugin, 'onDisplay')) {
     $result[] = $plugin->onDisplay($editor);
 }

它对我有用。希望它也对你有用

于 2012-06-28T16:54:15.180 回答