I'm not sure if it's because the code base in FBSS has been updated but I keep getting the following error when submitting a status with FBSS.

warning: Missing argument 3 for mentions_facebook_status_save() in C:\websites\devtest\sites\all\modules\mentions\modules\facebook_status.inc on line 11.

Changing mentions_facebook_status_save($account, $status, $sid) to mentions_facebook_status_save($account, $status, $sid = array()) seems to make the error go away.

Comments

lordofthelake’s picture

It's due to a change in FBSS API. To fix the problem, in modules/facebook_status.inc, from line 11 to 13, change the function to this:

function mentions_facebook_status_save($status, $edit=FALSE) {
  _mentions_update('facebook_status', mentions_find_users($status->status), $status->sid, $status->owner->uid);
}

The module developer doesn't seem to be around and I need this module for a site I'm developing for a client, so I'm patching & fixing bugs myself, in the hope that at some time the fixes will be merged in the following release. Hope this helps.

Regards,
- M.

3dloco’s picture

+1

3dloco’s picture

Status: Active » Reviewed & tested by the community

Thanks Lordofthelake! The changes mention in #1 removed the error message for me!

walker2238’s picture

Title: Warning with FBSS » Missing argument 3 for mentions_facebook_status_save()
Status: Reviewed & tested by the community » Active
deciphered’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

There is no further Drupal 6 development planed for Mentions. Sorry this issue was never resolved.