Keyword

Error in Image Listings Caused by DISQUS Comments for Joomla v3.1

  • jbrice
  • jbrice's Avatar Topic Author
  • Offline
  • New Member
More
12 years 4 months ago #44963 by jbrice
After installation and set-up of the DISQUS Comments v3.1 plug-in, I'm getting an error message on each item of Joomla back-end image listings (e.g Admin. > Content > Media Manager). I have been able to reproduce this fault on two separate J1.7.3 installations and the full error message is:
" Warning: Missing argument 4 for plgContentJw_disqus::onContentBeforeDisplay() in /path_to_joomla_site/plugins/content/jw_disqus/jw_disqus.php on line 32 "

I have been able to work around the bug by  changing line 32 of jw_disqus.php from:
function onContentBeforeDisplay($context, &$row, &$params, $limitstart ){
to:
function onContentBeforeDisplay($context, &$row, &$params, $limitstart = 0){

This may not be the best fix of this problem but seems to be a viable workaround until a bug fix is issued.

James B.<br />Member - Joomla Bug Squad

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #44964 by Joseph
Is there any official bug fix for this from the developer yet? I also facing exactly the same problem, error showing in my Media Manager.

Look forwards,
Joseph

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum