Active
Project:
Facebook Live Stream Module
Version:
7.x-1.0-beta1
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Oct 2011 at 14:59 UTC
Updated:
18 Jan 2012 at 13:15 UTC
I am receiving the following errors. This does not appear to affect the stream adversely, that I can tell anyway, as the stream populates as expected. However, I would like to eliminate the messages on the pages if nothing else :)
Notice: Undefined index: user_likes in include() (line 49 of /home/content/mysite/html/drupal/sites/all/modules/facebook_stream/post_display.tpl.php).
Notice: Undefined index: count in include() (line 50 of /home/content/mysite/html/drupal/sites/all/modules/facebook_stream/post_display.tpl.php).
Notice: Undefined index: count in include() (line 52 of /home/content/mysite/html/drupal/sites/all/modules/facebook_stream/post_display.tpl.php).
Comments
Comment #1
pflame commentedIt looks like the 'user_likes' index is not getting the values. To avoid these errors, over write post_display.tpl.php in your theme, and put a if condition which will check if the user_likes key exists or not.
Comment #2
vidra commentedAnybody have any idea?