Closed (fixed)
Project:
Facebook-style Micropublisher
Version:
7.x-1.x-dev
Component:
Code - API
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 May 2012 at 09:11 UTC
Updated:
3 Jun 2012 at 01:41 UTC
Undefined variable: poster in fbsmp_fbsmp() (line 1414 of /sites/all/modules/fbsmp/fbsmp.module).
$poster is not defined
Comments
Comment #1
Vineeth commentedComment #2
Vineeth commentedComment #3
Vineeth commentedComment #4
mathankumarc commentedThere is no patch in the issue. Dont set the status to needs work without any patch or solution.
Comment #5
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 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 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 commentedCommitted a fix to dev (D6 also)