Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Undefined variable: poster in fbsmp_fbsmp() (line 1414 of /sites/all/modules/fbsmp/fbsmp.module).
$poster is not defined
Comments
Comment #1
Vineeth CreditAttribution: Vineeth commentedComment #2
Vineeth CreditAttribution: Vineeth commentedComment #3
Vineeth CreditAttribution: Vineeth commentedComment #4
mathankumarc CreditAttribution: mathankumarc commentedThere is no patch in the issue. Dont set the status to needs work without any patch or solution.
Comment #5
ralva83638 CreditAttribution: ralva83638 commentedI get an ajax error when trying to share an image, no error in messages or apache error log, freezes up firebug so no info there either.
Comment #6
mathankumarc CreditAttribution: mathankumarc commentedWell another issue which exists in 6.x-2.x too. The problem is same, FBSMP doesn't adopted FBSS 3.x changes properly. I think poster is sender now.
But the big question here is, poster is undefined in 6.x-1.x also(I think so). The variable is used, however the user object of poster or sender never assigned to this variable in all the versions.
I'm going to ask Isaac to look into this.
Comment #7
IceCreamYou CreditAttribution: IceCreamYou commentedLooks like it was copied incorrectly from FBSS 6.x-2.x. Don't worry about fixing FBSMP 6.x-1.x. For FBSMP 6.x-2.x it should be
_facebook_status_user_load($status->sender);
and for FBSMP 7.x-1.x it should beuser_load($status->sender);
.Comment #8
mathankumarc CreditAttribution: mathankumarc commentedCommitted a fix to dev (D6 also)