• Resolved nettlequeen

    (@nettlequeen)


    Hi there,
    As reported by others, I am getting an invalid php argument error code in lieu of the Facebook feed:

    Warning: Invalid argument supplied for foreach() in /nfs/www/WWW_pages/xxxxxx/wp-content/plugins/feed-them-social/feeds/facebook/class-fts-facebook-feed.php on line 1746

    My token is showing as valid and working. I have regenerated my code. Cleared the cache. Etc.

    Please advise!
    Thank you,
    Chris

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author slickremix

    (@slickremix)

    I am able to see you feed ok in our demo using the facebook ID 109756802397160

    https://feedthemsocial.com/facebook-page-feed-demo/?feedID=109756802397160&show_media=top

    1. What is the shortcode you are using?
    2. Are you also using the latest version 2.5.9?

    Spencer

    Thread Starter nettlequeen

    (@nettlequeen)

    Hi there,
    Yes I am using 2.5.9

    The shortcode is: [fts_facebook type=page id=109756802397160 access_token=xxxxxxx posts=6 description=yes posts_displayed=page_only images_align=left]

    (I changed the access token values to x’s. Security issue?)

    Still getting:
    Warning: Invalid argument supplied for foreach() in /nfs/www/WWW_pages/lmkurtz/westcountyherb.com/wp-content/plugins/feed-them-social/feeds/facebook/class-fts-facebook-feed.php on line 635

    Warning: Invalid argument supplied for foreach() in /nfs/www/WWW_pages/lmkurtz/westcountyherb.com/wp-content/plugins/feed-them-social/feeds/facebook/class-fts-facebook-feed.php on line 646

    Invalid arguments showing up on php lines (635 and 646) like others are reporting.
    Ideas?

    Chris

    Plugin Author slickremix

    (@slickremix)

    Hey Chris,
    After you got the access token working by chance did you clear our plugins cache and any other plugins that may be caching?

    Clear Feed Them Social’s cache by clicking to Feed Them tab > Settings > Global Options > Clear cache

    Let me know if this helps.

    Thanks,
    Justin

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Invalid php Argument and No Feed Showing’ is closed to new replies.