• Resolved alieneila

    (@alieneila)


    I’ve only noticed these on facebook and twitter as those are the only ones I’m using, but… I keep having to hack the plugin every time there is an update.

    Facebook error: instead of being a return, it’s an echo, and causes the error to display at the top of the content instead of where the shortcode output is.
    This is how I fix it… line numbers may be off, but I’m sure you’ll know where I’m talking about.

    /includes/error-handler.php
    lines 87 – 89

    } catch (\Exception $e) {
      return array( true, $e->getMessage() );
    }

    /feeds/facebook/facebook-feed.php
    line 71 add…

    if ( is_array( $response ) && $response[0] == false ) {
    return $response[1];
    }

    line 710…

    if(is_array( $fts_error_check_complete ) && $fts_error_check_complete[0] == true){return array( false, $fts_error_check_complete[1] );}

    Twitter error: twitter-feed.php there is a print_r on line 156.

    https://wordpress.org/plugins/feed-them-social/

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

    (@slickremix)

    Hey Alieneila,

    Thanks for using FTS! We updated our code for Facebook feed. We are about to push the updated so you should no longer have troubles there.

    We are in the midst of making all of the feeds use the error log file so twitter and the others feeds will be updated in a coming update.

    We gave you credit in the readme 🙂

    Thanks again!
    Justin Labadie

    alieneila

    (@alieneila)

    Awesome, thank you Justin! Great plugin, so glad I could help with my suggestions =)

    Plugin Author slickremix

    (@slickremix)

    no problem! We always love to get reviews 😉

    https://wordpress.org/support/view/plugin-reviews/feed-them-social

    Thanks again for using FTS!
    Justin

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Please fix error output’ is closed to new replies.