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

pflame’s picture

It 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.

vidra’s picture

Anybody have any idea?