Fatal error: Call to undefined method stdClass::onDisplay()
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
- uaintgotthisid
- Joomla! Explorer
- Posts: 367
- Joined: Wed Sep 10, 2008 6:05 pm
- Location: Essex, England, United Kingdom
- Contact:
Re: Fatal error: Call to undefined method stdClass::onDispla
Thanks a million, I used the edited code and mine work well now. I don't have Docman installed though.
Kuenea, Alphareg, SOBI2, Autotweet, are installed if that helps anyone?
Kuenea, Alphareg, SOBI2, Autotweet, are installed if that helps anyone?
Joomla lover, web designer, marketeer
https://www.squareballoon.co.uk
JOIN US at Joomla! User Group London
https://www.joomlalondon.co.uk
https://www.squareballoon.co.uk
JOIN US at Joomla! User Group London
https://www.joomlalondon.co.uk
-
- Joomla! Enthusiast
- Posts: 233
- Joined: Fri Oct 12, 2007 7:07 pm
Re: Fatal error: Call to undefined method stdClass::onDispla
THANKS GUYS!
I just listed all the plugins that were enabled and disabled all the plugins that I didn't need including the editor buttons, "readmore", "pagebreak", etc.
All back to normal now.
Thanks,
CH
I just listed all the plugins that were enabled and disabled all the plugins that I didn't need including the editor buttons, "readmore", "pagebreak", etc.
All back to normal now.
Thanks,
CH
-
- Joomla! Intern
- Posts: 51
- Joined: Wed Feb 18, 2009 12:27 am
Re: Fatal error: Call to undefined method stdClass::onDispla
I'm still getting this:
Parse error: syntax error, unexpected $end, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /nfs/c01/h13/mnt/12356/domains/quivaproductions.com/html/libraries/joomla/html/editor.php on line 314
I've added and subtracted } and get nothing or the same issue as before. Can anyone help me resolve this. Its driving me nuts and has been for days now.
Parse error: syntax error, unexpected $end, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /nfs/c01/h13/mnt/12356/domains/quivaproductions.com/html/libraries/joomla/html/editor.php on line 314
I've added and subtracted } and get nothing or the same issue as before. Can anyone help me resolve this. Its driving me nuts and has been for days now.
-
- Joomla! Apprentice
- Posts: 6
- Joined: Tue Oct 16, 2007 4:54 am
Re: Fatal error: Call to undefined method stdClass::onDispla
I am running Joomla 1.5.22 and got the problem too.
In my case, i just disable SimpleCaddyButton plugin. Its werks!
In my case, i just disable SimpleCaddyButton plugin. Its werks!
-
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Mar 31, 2011 12:00 am
Re: Fatal error: Call to undefined method stdClass::onDispla
Also
Here is how to fix that problem
log in to Admin page and go to
Extensions>Plug in Manager
Find the
Editor Button - JAComment ON
and disable it.
problem solved.
Here is how to fix that problem
log in to Admin page and go to
Extensions>Plug in Manager
Find the
Editor Button - JAComment ON
and disable it.
problem solved.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sun May 22, 2011 2:05 pm
Re: Fatal error: Call to undefined method stdClass::onDispla
I had the same problem, that was after i shifted my j152 files to another cpanel server. Re installing never did solve the problem but i discovered that disabling several components that i had installed and where reflected in the database but actually i never did have by the backup date solved the problem.
- MrRoyce
- Joomla! Ace
- Posts: 1176
- Joined: Mon Oct 09, 2006 9:52 pm
- Location: Tampuh Floriduh - The jewels of America's wang.
- Contact:
Re: Fatal error: Call to undefined method stdClass::onDispla
I just got this same problem! In my case, I hadn't installed or changed anything. I was merrily updating content, uploading files with FileZilla, etc. Then, all of a sudden, I got this error when attempting up update a K2 category!
I tried to change the editor.php code as mentioned, and it fixed the fatal error, but all of my editor buttons were gone (page break, image, etc). The problem turned out that I had mistakenly moved the editors-xtd directory when uploading files. It was inadvertently moved to another directory so the editor couldn't find any plugins even though they were installed.
All was well after I found the wayward directory and moved it back to its rightful place
I tried to change the editor.php code as mentioned, and it fixed the fatal error, but all of my editor buttons were gone (page break, image, etc). The problem turned out that I had mistakenly moved the editors-xtd directory when uploading files. It was inadvertently moved to another directory so the editor couldn't find any plugins even though they were installed.
All was well after I found the wayward directory and moved it back to its rightful place
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Nov 23, 2011 7:53 am
Re: Fatal error: Call to undefined method stdClass::onDispla
Thank you very much!!!
I have resolved the issue by following what dessery and caiorg said in their previous post.
I think this is a better solution to really "resolve" the issue instead of modifying the source code as a workaround.
I have resolved the issue by following what dessery and caiorg said in their previous post.
I think this is a better solution to really "resolve" the issue instead of modifying the source code as a workaround.
Hope it helps!Step 1. Identify which plugin is having problem:
You can either disable those plugin one by one in Administration control panel under Extensions -> Plugin Manager. When you disable one plugin and the error doesn't show again when editing post, then this is the plugin in problem.
You can also go to Extensions -> Install/Uninstall -> Plugins
Look for those plugins which its "version", "date" and "author" column is empty. These are the plugins in problem.
Step 2. Remove the plugin which is having problem:
You can try to uninstall the plugins under "Extensions -> Install/Uninstall -> Plugins", although you will see error uninstalling, you may try if you can edit post now to see if the Fatal error persists. (this works for some people, but for my case, the error persists)
If the error persists, you need to delete the plugins from your MySQL database table directly.
Go to your MySql database and open the "jos_plugins" table, delete those lines which the plugins are having problem (those you identified in Step1).
Step 3. You can now re-install the plugins:
At Adminstrator page then select "Extensions -> Install/Uninstall".
From here you can re-install the plugin and it will be working properly.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sat Jan 10, 2009 11:07 pm
Re: Fatal error: Call to undefined method stdClass::onDispla
I got the same error when installing JCE editor. I UNPublish the plugin, clean the chache and ready again.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Tue Jan 03, 2012 3:55 am
- Contact:
Re: Fatal error: Call to undefined method stdClass::onDispla
If this happens after you reinstall, restore or upgrade your joomla usually all you need to do is to check the
components
administrator/components
modules
administrator/modules
plugins/ and all subfolders here
for differences
if any folder seems to be missing on the new install, upload it from the old without overwriting anything, just adding, it should work fine
components
administrator/components
modules
administrator/modules
plugins/ and all subfolders here
for differences
if any folder seems to be missing on the new install, upload it from the old without overwriting anything, just adding, it should work fine
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Feb 29, 2012 11:10 pm
- Contact:
Re: Fatal error: Call to undefined method stdClass::onDispla
I recently solved this issue by disabling all editors besides JCE 154, and this corrected the errors.If this happens after you reinstall, restore or upgrade your joomla usually all you need to do is to check the
components
administrator4/components
modules
administrator4/modules
plugins/ and all subfolders here
for differences
if any folder seems to be missing on the new install, upload it from the old without overwriting anything, just adding, it should work fine
I'm now able to view/edit articles!
-
- Joomla! Apprentice
- Posts: 5
- Joined: Tue Jan 03, 2012 3:55 am
- Contact:
Re: Fatal error: Call to undefined method stdClass::onDispla
if any folder seems to be missing on the new install, upload it from the old without overwriting anything, just adding, it should work fine
Basicly what would have happened is that a plugin, component or module on your old install had a folder that it used that is now missing. When reinstalling the plugin/comp/mod was not included and as the folder with its files are missing itcauses your install to break.
Most common seems to be that you used a different editor, then after reinstall your install is configured to use an editor that doesnt exist, unless you replace the missing files or reinstall it.
- numinousmedia
- Joomla! Ace
- Posts: 1567
- Joined: Fri Dec 16, 2011 6:13 pm
- Location: Barberton, OH
- Contact:
Re: Fatal error: Call to undefined method stdClass::onDispla
Thanks Yusuf Anyanzwa, your post answered my question!
Ryan
Frontend Developer and Joomla Professional
Ethode Website Development: http://www.ethode.com
Personal Site: http://www.numinousmedia.com
Frontend Developer and Joomla Professional
Ethode Website Development: http://www.ethode.com
Personal Site: http://www.numinousmedia.com
-
- Joomla! Enthusiast
- Posts: 103
- Joined: Wed Jan 16, 2013 9:02 pm
Re: Fatal error: Call to undefined method stdClass::onDispla
This sounds like my case, except it is not an editor. If you dont have the previous installation, how do you know where to put the files for each 3rd party extension that was previously installed?
dent_dc wrote:if any folder seems to be missing on the new install, upload it from the old without overwriting anything, just adding, it should work fine
Basicly what would have happened is that a plugin, component or module on your old install had a folder that it used that is now missing. When reinstalling the plugin/comp/mod was not included and as the folder with its files are missing itcauses your install to break.
Most common seems to be that you used a different editor, then after reinstall your install is configured to use an editor that doesnt exist, unless you replace the missing files or reinstall it.
- webytint
- Joomla! Fledgling
- Posts: 4
- Joined: Thu May 12, 2011 4:25 pm
- Contact:
Re: Fatal error: Call to undefined method stdClass::onDispla
Cuando reinstaléis un joomla, o restauréis una versión vieja, por que habéis tenido un ataque de virus o algo, y hayáis subido una versión vieja, podéis encontraros con muchos problemas.
Uno de ellos es que los componente, plugins y plantillas que teníais instaladas no está metidas en esa versión vieja que tenéis guardada, por lo que por un lado en la base de datos os pide elementos (componentes, plugin, plantiulla, editores, idiomas…) que no los tenéis. Eso os dará errores, por lo que conviene revisar toda la web antes de darlo por terminado el trabajo de restauración.
Uno de los posibles errores es:
Al entrar dentro de un artículo o módulo (cualquier parte que tenga un editor)
Fatal error: Call to undefined method stdClass::onDisplay() in .. libraries/joomla/html/editor.php on line 263
Antes de nada probad a despublicar los plugins de todos los editores que tengáis, si con ello se soluciona, tenéis que reinstalar el editor que os falte, si no sabéis cual, reinstalad todos.
Con eso debería bastar.
http://webytint.net/blog/error-joomla-1 ... -line-263/
Uno de ellos es que los componente, plugins y plantillas que teníais instaladas no está metidas en esa versión vieja que tenéis guardada, por lo que por un lado en la base de datos os pide elementos (componentes, plugin, plantiulla, editores, idiomas…) que no los tenéis. Eso os dará errores, por lo que conviene revisar toda la web antes de darlo por terminado el trabajo de restauración.
Uno de los posibles errores es:
Al entrar dentro de un artículo o módulo (cualquier parte que tenga un editor)
Fatal error: Call to undefined method stdClass::onDisplay() in .. libraries/joomla/html/editor.php on line 263
Antes de nada probad a despublicar los plugins de todos los editores que tengáis, si con ello se soluciona, tenéis que reinstalar el editor que os falte, si no sabéis cual, reinstalad todos.
Con eso debería bastar.
http://webytint.net/blog/error-joomla-1 ... -line-263/
Recursos para Desarrollo Web, Diseño Gráfico y Fotografía
http://www.webytint.net
http://www.webytint.net
-
- Joomla! Apprentice
- Posts: 7
- Joined: Wed Mar 18, 2009 3:35 pm
- Location: Dhaka
- Contact:
Re: Fatal error: Call to undefined method stdClass::onDispla
I am using Joomla 1.5
yesterday, I changed work on Email Cloaking plugin to disable email climbable options on the website's content , then happened the error
Fatal error: Call to undefined method stdClass::onDisplay()
I replaced code according to your instruction here.
Now, its working fine for Editor.php
Thanks a lot
yesterday, I changed work on Email Cloaking plugin to disable email climbable options on the website's content , then happened the error
Fatal error: Call to undefined method stdClass::onDisplay()
I replaced code according to your instruction here.
Now, its working fine for Editor.php
Thanks a lot
-
- Joomla! Fledgling
- Posts: 2
- Joined: Thu Feb 27, 2014 7:18 pm
Re: Fatal error: Call to undefined method stdClass::onDispla
Found the problem. Just for posterity:
Change line 268 of /libraries/joomla/html/editor.php from:
To:
This will get rid of the error, and also show you what plugin is not properly installed so you can reinstall it (in my case it was "Modules Anywhere").
.
Change line 268 of /libraries/joomla/html/editor.php from:
Code: Select all
$resultTest = $plugin->onDisplay($editor);
Code: Select all
// $resultTest = $plugin->onDisplay($editor);
if (method_exists($plugin, 'onDisplay')) {
$result[] = $plugin->onDisplay($editor);
if ($resultTest) $result[] = $resultTest;
}
else{
$resultTest = false;
echo '<h4>Bad Plugin: '.$plugin->name.'</h4>';
}
.