I have installed succesfully the 7.x version of Facebook Live Stream on Drupal 7. However, when I tried to use my Facebook session so to see me as connected it displayed this error:

Your Facebook session has expired, try to reconnectFacebook Login

When I pressed the Facebook Stream tab in my profile. Then it displayed the following error:

Warning: unserialize() expects parameter 1 to be string, array given in fb_stream_config_form() (line 192 of /home/oplay/domains/organizedplay.gr/public_html/drupal7/sites/all/modules/facebook_stream/facebook_stream.module)..

and when I pressed the Save button after editing the number of feeds to be shown (I know that there was no point since it's not working, but I've pressed it in case the errors help you more), it displayed the following errors:

•Warning: unserialize() expects parameter 1 to be string, array given in fb_stream_config_form() (line 192 of /home/oplay/domains/organizedplay.gr/public_html/drupal7/sites/all/modules/facebook_stream/facebook_stream.module).
•Warning: unserialize() expects parameter 1 to be string, array given in fb_stream_config_form_submit() (line 242 of /home/oplay/domains/organizedplay.gr/public_html/drupal7/sites/all/modules/facebook_stream/facebook_stream.module).
•Warning: array_merge(): Argument #1 is not an array in fb_stream_config_form_submit() (line 243 of /home/oplay/domains/organizedplay.gr/public_html/drupal7/sites/all/modules/facebook_stream/facebook_stream.module).
•Recoverable fatal error: Argument 2 passed to db_query() must be an array, string given, called in /home/oplay/domains/organizedplay.gr/public_html/drupal7/sites/all/modules/facebook_stream/facebook_stream.module on line 244 and defined in db_query() (line 2220 of /home/oplay/domains/organizedplay.gr/public_html/drupal7/includes/database/database.inc).
..

Comments

pflame’s picture

Which version of Drupal 7 you are using? I did not test with the latest version of Drupal7.

zandros’s picture

I've used the latest developement snapshot of Drupal 7 (7.x-dev)
Is it ok to use the latest developement facebook sdk?

pflame’s picture

Yes, It will support latest development facebook SDK. I think these errors are related to admin config form of facebook stream module. Drupal 7 API was changing frequently. Will check the issue with Drupal 7 dev instance and fix the issue today.

pflame’s picture

Fixed this error and committed code to the 7.x-dev codebase. You can download the latest codebase after 24 hours or you can get the latest code base through CVS.

zandros’s picture

It seems to work now. The only glitch is that it displays this error:

Warning: unserialize() expects parameter 1 to be string, array given in _get_facebbok_stream() (line 381 of /[i_removed the_path]/facebook_stream.module).

zandros’s picture

Status: Active » Needs work
Zarevac’s picture

Using the 7.x version and Drupal 7.x I get the following error after activating the module via admin.

Fatal error: require(): Failed opening required 'sites/all/modules/facebook_stream/facebook-php-sdk/src/facebook.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /sites/all/modules/facebook_stream/facebook_stream.module on line 36

pflame’s picture

Zarevac,

Did u add facebook-php-sdk? Please check the how to install section at http://drupal.org/node/483570. I am working on providing more exceptional handling for not to display this kind of errors?

Regards,

Zarevac’s picture

Upgraded to RC3 and voila it works :-)

pflame’s picture

Status: Needs work » Fixed

Fixed the issue since the module is working with latest version of D7

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.