-
AuthorPosts
-
August 22, 2011 at 5:29 pm #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 Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
August 22, 2011 at 6:34 pm #407703Hi
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
August 22, 2011 at 6:54 pm #407707I 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 JATCqbali
- Join date:
- October 2006
- Posts:
- 177
- Downloads:
- 13
- Uploads:
- 23
- Thanks:
- 13
- Thanked:
- 2 times in 1 posts
August 22, 2011 at 7:00 pm #407708Hi 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
August 22, 2011 at 7:15 pm #407712Yes, 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 ModeratorManos
- Join date:
- February 2014
- Posts:
- 2806
- Downloads:
- 46
- Uploads:
- 56
- Thanks:
- 200
- Thanked:
- 633 times in 576 posts
August 22, 2011 at 8:42 pm #407722Hi,
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.
-
AuthorPosts
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