Friday, June 18, 2010

Joomla - Unable to edit article error stdClass::onDisplay()

In Joomla most probably after upgradation users will encounter an error, that is they cannot edit articles or sections.

You can fix this by a simple trick, do the steps as follows.


Go to root directory, libraries\joomla\html\editor.php

In between lines 260-270 replace the given code

Code:
// Try to authenticate
$result[] = $plugin->onDisplay($editor);


with


Code:
// Try to authenticate
if (method_exists($plugin, 'onDisplay')) {
$result[] = $plugin->onDisplay($editor);
}
Post a Comment

Popular Posts