Server Error 500 with Facebook

Issue #29 duplicate
Benedikt Wiesnet created an issue
Typo3:  9.5.4
PHP-Version:    7.2.15
pb_social: 1.3.4 / stable 

I installed this extension and configured app id and app secret for Facebook. Added the FanPage Id and setup the scheduler.

When trying to manually trigger Typo3 Scheduler or if I try to open site with this plugin, I get an Server Error 500. In the typo3 logs I can see:

Core: Error handler (BE): PHP Warning: Invalid argument supplied for foreach() in /homepages/9/d760139845/htdocs/typo3conf/ext/pb_social/Classes/Adapter/FacebookAdapter.php line 229

Any advice for this? Is it misconfiguration or serious error?

Comments (9)

  1. Benedikt Wiesnet Account Deactivated reporter

    Seems to be related to another error:

    [pb_social] facebook: request failed: (#10) To use 'Page Public Content Access', your use of this endpoint must be reviewed and approved by Facebook. To submit this 'Page Public Content Access' feature for review please read our documentation on reviewable features: https://developers.facebook.com/docs/apps/review.
    

    Any news on this problem?

  2. Stefan Nitsche

    Same problem here

    Core: Error handler (BE): PHP Warning: Invalid argument supplied for foreach() in /typo3conf/ext/pb_social/Classes/Adapter/FacebookAdapter.php line 229
    
  3. Benedikt Wiesnet Account Deactivated reporter

    @snits35m Seems to be related to this: Click But somehow I still get Server Error 500. I can not get a valid error message because of my bullshit hoster... Maybe you have some error.logs from php?

  4. Log in to comment