Fatal error: Call to undefined method stdClass::onDisplay() in /home/

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

This error in Joomla will solve by replace the code as follows:

Go to root directory, librariesjoomlahtmleditor.php

In line 261 replace

In original file replace this

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

with, this one

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

This should solve the problem. If still persists, disable the editor from the plugin in domain.com/administrator/

Leave a Reply