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

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

You can leave a response, or trackback from your own site.

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

  1. Ivan says:

    Thanks from Russia, worked

  2. Jude Festus says:

    Thanks for the feedback Ivan

  3. AskilD says:

    Thanks, realy worked!!!

  4. Ghz says:

    it’s work :) :):):):):):)

  5. Vitaliy says:

    Thanks!!!!!!!!!

  6. Toni says:

    Hey Thanks :) I googled the error message and your site popped up. Worked like a charm.

    Thanks ever so much.

  7. Gennady says:

    Thank you very much!
    You really helped me!
    Regards, Gennady from Russia

  8. Jude Festus says:

    Thank you all for your feedbacks

  9. Jan says:

    Thank you very much :) ! You saved me lot of time searching this… It worked for me! Greetings from Czech!

  10. uwe says:

    Thank you very much. Greetings vom Germany.

  11. Hafid says:

    Thanks very much for the issue

    I had this problem with joomlart-kranos-Dec.2011

    Cordialy,

Leave a Reply