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

18 Jun

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: