Jun
20

Joomla Fatal error: Call to undefined method stdClass::onDisplay() in joomla/html/editor.php on line 268

Author Jude Festus    Category Joomla     Tags

Today i encountered an issue in my Joomla based website when i tried to edit one of the module data. Below is the error message i received:

“Fatal error: Call to undefined method stdClass::onDisplay() in joomla/html/editor.php on line 268″

After searching in Google for a while i found the answer in a forum, this is what i did to resolve the issue in my joomla based website.

Edit the file “editor.php” in the folder libraries/joomla/html

Replaced the line $resultTest = $plugin->onDisplay($editor);
(which is in line 261 after the line
“// Try to authenticate — only add to array if authentication is successful”)

to

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

It worked for me. Hope it will work for you too..

Post to Twitter

Post comment