Closed (duplicate)
Project:
Subscriptions
Version:
5.x-1.4
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2007 at 15:18 UTC
Updated:
3 Mar 2007 at 17:59 UTC
warning: Missing argument 3 for subscriptions_comment_page(), called in /var/www/***/home/sites/all/modules/subscriptions/subscriptions.module on line 389 and defined in /var/www/***/home/sites/all/modules/subscriptions/subscriptions.module on line 633.
I'm getting this error when I post a new comment, reply to a comment, or even post a new topic in general.
Looking at the actual subscriptions.module itself, I see where the problem is, however the fix I'm uncertain yet, but looking at line 389:
$page = subscriptions_comment_page($ssid, $nid);
It's calling the subscriptions_comment_page with 2 arguments, but that function, shown at 633:
function subscriptions_comment_page($comment, $cid, $nid) {
Has 3 arguments it's expecting.
Comments
Comment #1
mindless commentedthis was already fixed in 1.62.2.18 (5.x-1.x-dev)
Comment #2
dmartin commentedIf it was fixed, I hate to say it's still in the dev snapshot. I downloaded it from http://drupal.org/project/subscriptions and I get this exact error. The date on this snapshot is February 19, and you closed this on February 17, so something's wrong here.
Comment #3
Walt Esquivel commentedI had the same error message shown above. However, I noticed at http://drupal.org/project/subscriptions that there is a new 5.x-1.x-dev version dated 2007-Feb-27.
I'm not certain of the exact sequence to upgrade a contributed module (a link or "here is how you do it" from someone sent to me via my Contact form would be appreciated), but here is what I did.
I unchecked the Subscriptions module box from the modules list on my admin screen, uploaded the 2/27 dev version to my server, ran update.php, rechecked the Subscriptions module box, and the issue seems to have been fixed.
I'll let someone with more knowledge than me make the final decision on whether or not it's fixed. :)
Regards,
Walt
Comment #4
journaltimes commentedI also had the same error. I decided to try uploading the newer version that was dated March 3, 2007.
Works great now. Thanks!