Topic-icon Missing argument 4 for plgContentJFBCContent::onContentBeforeDisplay()

Active Subscriptions:

None
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
"
The topic has been locked.
Support Specialist
Pffft.. That all you got? :)

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!
The topic has been locked.
Active Subscriptions:

None
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
The topic has been locked.
Active Subscriptions:

None
is there anything I can do to stip this.... it's not "killing" the site but it makes maaging images / media very difficult.
The topic has been locked.
Support Specialist
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!
The topic has been locked.
Active Subscriptions:

None
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
The topic has been locked.
Support Specialist
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
The topic has been locked.