Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • thomas777 Friend
    #167688

    Hi

    I have installed the Community Plus template via the quick start yesterday and all is going well. I am customizing the menus and other elements.

    I went to begin editing and adding new articles in the backend and I get this error every time I click on an existing article or try to create a new one. This message also appears when I try to edit an article from the front end.

    Fatal error: Call to undefined method stdClass::onDisplay() in /home/content/23/8270123/html/community/libraries/joomla/html/editor.php on line 295

    Because of this I can’t move forward at all. Any help would be most appreciated.

    Thanks.

    pavit Moderator
    #407703

    Hi

    This error seems to be referred to the Editor

    What Joomla editor are you using? Try changing it (Site > Global Configuration > Default WYSIWYG Editor to Editor – No Editor

    thomas777 Friend
    #407707

    I am using the default QuickStart set up for the community plus template, that I downloaded on the 20th

    I looked in the config as you suggested and it was set to TinyMCE.

    I just set it to Editor – No Editor
    I cleared the cache via the button at the top of the screen, and checked if I could edit but it still does not work.

    Not sure if there is some kind of reload button to update certain kinds of settings beyond just the save button at the top of each settings screen.

    Thanks for your assistance.

    qbali JATC
    #407708

    Hi thomas777,

    i experienced this error 2 hours ago, and i have solved this error too,

    here the solution,

    here what i changed,

    find this code in editor.php ( libraries/joomla/html/editor.php)

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

    and change the above code to this :

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

    and it will works,

    hope this helps

    thomas777 Friend
    #407712

    Yes, that fixed it, thanks a bunch.

    When I open the editor, I do see a new error message although it does appear that I can edit now. I think these two errors are related to the change I made.

    Warning: Missing argument 2 for plgButtonImage::onDisplay(), called in /home/content/23/8270123/html/community/libraries/joomla/html/editor.php on line 296 and defined in /home/content/23/8270123/html/community/plugins/editors-xtd/image/image.php on line 41

    Warning: Missing argument 3 for plgButtonImage::onDisplay(), called in /home/content/23/8270123/html/community/libraries/joomla/html/editor.php on line 296 and defined in /home/content/23/8270123/html/community/plugins/editors-xtd/image/image.php on line 41

    Manos Moderator
    #407722

    Hi,
    I think this one has to do with Joomla, i experienced this one also and i am trying to find a solution, right now i am just developing this site on localhost so for now i have just commented on those lines.


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

    But i guess there will be a quick solution from Joolma bug squad.

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 4 voices, and was last updated by  Manos 13 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum