Title: Please fix error output
Last modified: August 30, 2016

---

# Please fix error output

 *  Resolved [alieneila](https://wordpress.org/support/users/alieneila/)
 * (@alieneila)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/please-fix-error-output/)
 * 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/](https://wordpress.org/plugins/feed-them-social/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [slickremix](https://wordpress.org/support/users/slickremix/)
 * (@slickremix)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/please-fix-error-output/#post-6826844)
 * 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
 *  Thread Starter [alieneila](https://wordpress.org/support/users/alieneila/)
 * (@alieneila)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/please-fix-error-output/#post-6826894)
 * Awesome, thank you Justin! Great plugin, so glad I could help with my suggestions
   =)
 *  Plugin Author [slickremix](https://wordpress.org/support/users/slickremix/)
 * (@slickremix)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/please-fix-error-output/#post-6826938)
 * no problem! We always love to get reviews 😉
 * [https://wordpress.org/support/view/plugin-reviews/feed-them-social](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.

 * ![](https://ps.w.org/feed-them-social/assets/icon-256x256.jpg?rev=998039)
 * [Feed Them Social - Social Media Feeds, Video, and Photo Galleries](https://wordpress.org/plugins/feed-them-social/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/feed-them-social/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/feed-them-social/)
 * [Active Topics](https://wordpress.org/support/plugin/feed-them-social/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/feed-them-social/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/feed-them-social/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [slickremix](https://wordpress.org/support/users/slickremix/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/please-fix-error-output/#post-6826938)
 * Status: resolved