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);
}

2 comments:

Anonymous said...

Thnaks so much...Your article really helped me out

Unknown said...

What version of Joomla?

Popular Posts