This kill my whole day so dev who ever have this problem you can do this quick fix from here.
open this file in joomla
libraries/joomla/html/editor.php
find this line
// Try to authenticate — only add to array if authentication is successful
$resultTest = $plugin->onDisplay($editor);
if ($resultTest) $result[] = $resultTest;

And replace with this below line and you fix this bug

8 thoughts on “Fatal error: Call to undefined method stdClass::onDisplay() in libraries/joomla/html/editor.php”

  1. 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 has worked for me just now..

  2. Hi Bhai,
    I have same problem , I got error as “Fatal error: Call to undefined method stdClass::onDisplay() in /home2/abuhamad/public_html/libraries/joomla/html/editor.php on line 459”

    When create a new category in admin side . pls help me to resolve same

    Thanks
    Anes

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.