Closed (fixed)
Project:
Facebook social plugins integration
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jul 2011 at 09:11 UTC
Updated:
29 Aug 2011 at 17:40 UTC
I get error message when enable comments:
Notice: Undefined variable: a4 in fb_social_comments_node_view() (line 74 of /sites/all/modules/fb_social/modules/fb_social_comments/fb_social_comments.module).
I just added facebook comments that replace drupal core comment section. And facebook comment still not showing.
Comments
Comment #1
myfarmertan commentedI get the same error. I'd be happy to provide any other info to help get this fixed. Not sure what would help though.
Comment #2
mmellado commentedGot same problem. Subscribing
Comment #3
mmellado commentedIn my case, comment box IS showing (you need to enable it, it's a block which will appear after you CREATE your plugin). The error stopped appearing after i changed a line of code in the module.
The module seems to be trying to check a variable (Notice: Undefined variable: a4 in fb_social_comments_node_view() (line 74 of /sites/all/modules/fb_social/modules/fb_social_comments/fb_social_comments.module).) . However, it seems like its falling into this error when the variable doesn't exist, so I simply changed line 74 of /sites/all/modules/fb_social/modules/fb_social_comments/fb_social_comments.module from
to
Hope this helps you too!
Comment #4
myfarmertan commentedThat fixed the problem i was having. Now I need to get the plugin settings to remember the content type selection i'm making.
Comment #5
nattsThe above fixed the error message for me too, as expected, but I also have the issue of the content type selection not being remembered, and so the comments box code is never actually output.
This is a major bug :-(
Comment #6
krysty2k9 commentedthe notice error is solved but I still can't display the facebook comment box on a content type ! Any solution ?
Comment #7
feconroses commentedI have the same problem that the previous 3 users have. Any solution? Thanks.
Comment #8
ferdi commentedFixed in alpha2 release