Page 1 of 1

Missing argument 3 after upgrading to 1.5.14

Posted: Fri Aug 07, 2009 9:49 pm
by dmaddox
Im getting these on most of my component pages:

Code: Select all

Warning: Missing argument 3 for plgContentplg_iframe::onPrepareContent() in /home/users/public_html/**mysite.com**/plugins/content/plg_iframe.php on line 57

Warning: Missing argument 3 for mb_videobot() in /home/users/public_html/**mysite.com**/plugins/content/azvideobot.php on line 8

Warning: Missing argument 3 for plgContenteventDirections::onPrepareContent() in /home/users/public_html/**mysite.com**/plugins/content/eventdirections.php on line 343

Warning: Missing argument 3 for plgContentRokbox::onPrepareContent() in /home/users/public_html/**mysite.com**/plugins/content/rokbox.php on line 26
I upgraded to 1.5.13, had the ill-famed TinyMCE error, so then turned around and upgraded to 1.5.14. That took care of the TinyMCE error, but now having the above on most of my linked component pages.

Thoughts on how to rectify, anyone?
Thank you.
DM

Re: Missing argument 3 after upgrading to 1.5.14

Posted: Sat Aug 08, 2009 1:33 am
by dpacadmin
This error is for four plugins that are not a part of the default Joomla install. If you do not use them try disabling them.
plg_iframe.php
azvideobot.php
eventdirections.php
rokbox.php

Re: Missing argument 3 after upgrading to 1.5.14

Posted: Sat Aug 08, 2009 5:31 pm
by dmaddox
Well of course i use them.
And i know they arent part of the install.
The point is, there was no error until 1.5.14

Re: Missing argument 3 after upgrading to 1.5.14

Posted: Sun Aug 09, 2009 4:54 am
by dpacadmin
Then either Joomla is in error or the plugins are no longer compatible with the latest version of Joomla. Check the extension creator's site to see if there is an update for the plugins. Failing that you might try uploading the complete file set for 1.5.14 except the installation folder. Check your FTP logs to be sure all files were uploaded and overwrote the old files. It could be you have a missing or corrupt Joomla file.

The latest changes to Joomla effected the way overrides work for the default templates and the default editor has been updated. Could that have effected your plugins?

Re: Missing argument 3 after upgrading to 1.5.14

Posted: Tue Sep 15, 2009 8:32 pm
by SOAMJENA
o, here is the solution. Just open that file and do this.

function onPrepareContent( &$article, &$params, $limitstart )

Replace it with,

function onPrepareContent( &$article, &$params, $limitstart = null )

or

function onPrepareContent( &$article, &$params)

Both should work. So try doing any one of them. Thats it..

Re: Missing argument 3 after upgrading to 1.5.14

Posted: Tue Sep 15, 2009 8:43 pm
by dmaddox
Thank you, SOAMJENA.
I just wiped everything out and started all over.
Im back where I was and without error.
But hopefully this find of yours can help another in that situation.
Thank you for posting. :)