fbpx

Missing argument 4 for plgContentJFBCContent::onContentBeforeDisplay()

Missing argument 4 for plgContentJFBCContent::onContentBeforeDisplay()

To reproduce go into admin backend, media manager and this appears against all images (not folders)

Basics
PHP Built On  Linux s15434343.onlinehome-server.info 2.6.18-194.26.1.el5xen #1 SMP Tue Nov 9 13:35:30 EST 2010 x86_64 
Database Version  5.0.77 
Database Collation  utf8_general_ci 
PHP Version  5.2.17 
Web Server  Apache/2.2.3 (CentOS) 
WebServer to PHP Interface  apache2handler 
Joomla! Version  Joomla! 1.6.1 Stable [ Onward ] 07-Mar-2011 23:00 GMT 
User Agent  Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Tablet PC 2.0; InfoPath.2; .NET4.0C) 

Error against each image : "

Warning: Missing argument 4 for plgContentJFBCContent::onContentBeforeDisplay() in /var/www/vhosts/MYDOMAINNAMEHERE.com/httpdocs/plugins/content/jfbccontent/jfbccontent.php on line 21
"

andybott
useravatar
Offline
29 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Missing argument 4 for plgContentJFBCContent::onContentBeforeDisplay()

Pffft.. That all you got? current/smile

Thanks for the report. No clue what's going on there.. the Content plugin actually shouldn't be activated in the backend at all, so obviously we missed something. Not marking this as critical, which means it will be fixed in the next release (tentatively scheduled for late next week/weekend), but there won't be a release specifically to fix it.

Let us know if there's anything else you find, and good luck!

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24428 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Missing argument 4 for plgContentJFBCContent::onContentBeforeDisplay()

confirmed; same problem on my mediamanager.

Warning: Missing argument 4 for plgContentJFBCContent::onContentBeforeDisplay() in /home/farikoc/public_html/info/plugins/content/jfbccontent/jfbccontent.php on line 21

agbkorf
useravatar
Offline
1 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Missing argument 4 for plgContentJFBCContent::onContentBeforeDisplay()

is there anything I can do to stip this.... it's not "killing" the site but it makes maaging images / media very difficult.

andybott
useravatar
Offline
29 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Missing argument 4 for plgContentJFBCContent::onContentBeforeDisplay()

Hey guys, sorry we didn't post the solution here.. I thought we had. The 3.3.0 release of JFBConnect (for J1.6) will be posted later today, or tomorrow at the latest, which has this fix. If you want to do it yourself temporarily, it's very simple.

In the /plugins/content/jfbccontent/jfbccontent.php file, at line 22, update the very end of the line to add a default to the $limitstart value, like below:
... , &$params, $limitstart = 0)

This is something that changed in J1.6 that we weren't aware of. Again, this will definitely be in the new release.

Thanks!

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24428 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Missing argument 4 for plgContentJFBCContent::onContentBeforeDisplay()

hey it has happened in another plugin sharethis
Warning: Missing argument 4 for plgContentShareThis::onContentBeforeDisplay() in E:\Inetpub\websites\joomla1.6\plugins\content\sharethis\sharethis.php on line 74

Fatal error: Class 'ContentHelperRoute' not found in E:\Inetpub\websites\joomla1.6\plugins\content\sharethis\sharethis.php on line 79

sharethis Version2011.3.1 (last update on Mar 22, 2011)Rating4.28 out of 5.00 from 39 users.CompatibilityVotesFavoured 42 LicenseGPLv2 or laterCommercialTypeViews58238Date Added4 June 2008

khumanitzki
useravatar
Offline
1 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Missing argument 4 for plgContentJFBCContent::onContentBeforeDisplay()

You'll need to report that to the developer so they can fix the issue. This has been fixed in JFBConnect, which has Like capabilities.

I don't know the ShareThis plugin though, and can't help you out with any errors in their plugin.

Best of luck,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24428 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11859
Total Polls:
0
Total Posts:
49712
Posts this week:
7
User Info
 
Total Users:
48457
Newest User:
DavidZX
Members Online:
3
Guests Online:
1019

Social Stream
Hide, Seek & Defuse

Handheld Electronic Game

Alex from SourceCoast is working on a new electronic game for kids called Countdown. It's a timed game of Hide & Seek with mini-games (Whack-a-Mole, Simon, etc) to complete when you find it.

Hide and Seek Toys

Before You Leave

Let us send you a 10% off coupon

For Your Next Purchase

Please enable the javascript to submit this form

No , I don't want a discount