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
Comment #1
pflame commentedWhich version of Drupal 7 you are using? I did not test with the latest version of Drupal7.
Comment #2
zandros commentedI've used the latest developement snapshot of Drupal 7 (7.x-dev)
Is it ok to use the latest developement facebook sdk?
Comment #3
pflame commentedYes, 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.
Comment #4
pflame commentedFixed 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.
Comment #5
zandros commentedIt 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).Comment #6
zandros commentedComment #7
Zarevac commentedUsing 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
Comment #8
pflame commentedZarevac,
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,
Comment #9
Zarevac commentedUpgraded to RC3 and voila it works :-)
Comment #10
pflame commentedFixed the issue since the module is working with latest version of D7