Title: excerpt_functions.php on line 684 error
Last modified: August 21, 2016

---

# excerpt_functions.php on line 684 error

 *  [garystriplett](https://wordpress.org/support/users/garystriplett/)
 * (@garystriplett)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/excerpt_functionsphp-on-line-684-error/)
 * I am receiving errors that cause wp-cron.php to run for hours processing feeds
   from RSS Multi Importer. Running wp-cron.php from a linux command line, I receive
   the following errors (exerpt):
 * PHP Warning: getimagesize([http://o.aolcdn.com/dims-shared/dims3/GLOB/crop/2386×1303+553+152/resize/604×327!/format/jpg/quality/85/http://o.aolcdn.com/hss/storage/adam/4e460a7663724d96c1ff14f5ed8a9210/458356077.jpg](http://o.aolcdn.com/dims-shared/dims3/GLOB/crop/2386×1303+553+152/resize/604×327!/format/jpg/quality/85/http://o.aolcdn.com/hss/storage/adam/4e460a7663724d96c1ff14f5ed8a9210/458356077.jpg)):
   failed to open stream: Connection timed out in /var/www/html/boards/articles/
   wp-content/plugins/wp-rss-multi-importer/inc/excerpt_functions.php on line 684
   
   PHP Warning: getimagesize([http://o.aolcdn.com/dims-shared/dims3/GLOB/crop/2000×1068+0+927/resize/604×327!/format/jpg/quality/85/http://o.aolcdn.com/hss/storage/adam/c3f438ec74948b6a8f04276fd6de41fc/107616875.jpg](http://o.aolcdn.com/dims-shared/dims3/GLOB/crop/2000×1068+0+927/resize/604×327!/format/jpg/quality/85/http://o.aolcdn.com/hss/storage/adam/c3f438ec74948b6a8f04276fd6de41fc/107616875.jpg)):
   failed to open stream: Connection timed out in /var/www/html/boards/articles/
   wp-content/plugins/wp-rss-multi-importer/inc/excerpt_functions.php on line 684
 * [https://wordpress.org/plugins/wp-rss-multi-importer/](https://wordpress.org/plugins/wp-rss-multi-importer/)

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

 *  Plugin Author [Allen](https://wordpress.org/support/users/amweiss98/)
 * (@amweiss98)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/excerpt_functionsphp-on-line-684-error/#post-4594441)
 * this is not an error but a warning..it is saying that it’s trying to get an image
   from aol’s cdn server, and the connection to that server is timing out (probably
   due to a problem at aol or something that is blocking your server from reaching
   aol’s server).
 *  Thread Starter [garystriplett](https://wordpress.org/support/users/garystriplett/)
 * (@garystriplett)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/excerpt_functionsphp-on-line-684-error/#post-4594453)
 * I realize this fact. How long should this process take? If the resource is unavailable,
   shouldn’t it move on to the next quickly and finish it’s work? In my case, it
   seems to stall for 10-15 minutes on each feed item causing one cycle to last 
   hours.
 *  Thread Starter [garystriplett](https://wordpress.org/support/users/garystriplett/)
 * (@garystriplett)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/excerpt_functionsphp-on-line-684-error/#post-4594459)
 * In the end, the database connection goes away as timed out due to the long time
   waiting for Multi Importer to finish it’s work. I have MySql set to time out 
   transactions in 11 minutes. The result is that no new articles are posted.
 * WordPress database error MySQL server has gone away for query SELECT option_value
   FROM articles_options WHERE option_name = ‘_transient_doing_cron’ LIMIT 1 made
   by _get_cron_lock, W3_Db->query, W3_DbCache->query, W3_DbCallUnderlying->query,
   W3_Db->query, W3_DbProcessor->query, W3_Db->default_query
 *  Thread Starter [garystriplett](https://wordpress.org/support/users/garystriplett/)
 * (@garystriplett)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/excerpt_functionsphp-on-line-684-error/#post-4594468)
 * On a separate thought, would it not be prudent to download all feeds into a temp
   file first and then process each article individually from that temp file rather
   than using RAM to hold all downloaded data for processing? It would seem to be
   a more efficient use of resources for large feed profiles.
 *  Plugin Author [Allen](https://wordpress.org/support/users/amweiss98/)
 * (@amweiss98)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/excerpt_functionsphp-on-line-684-error/#post-4594477)
 * right now, if you are using shortcode, there are no images begin downloaded at
   all….there are only images (temp) when using the feed to post and setting the
   images as Featured Images…are you using the featured image setting?
 *  Thread Starter [garystriplett](https://wordpress.org/support/users/garystriplett/)
 * (@garystriplett)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/excerpt_functionsphp-on-line-684-error/#post-4594478)
 * [http://bd.summit.net/articles/](http://bd.summit.net/articles/)
 * I’m not using shortcode. I use, as have always, Excerpt and Featured Image setting.
 * I have over 100 feed sources.
 * I will say, my viewers have more than doubled within the last 24 hours while 
   not posting new articles given the ram available to serve pages. It has increased
   due to the ram required to store and hold the large downloaded data for processing
   new articles on my limited resource server. This is the reason for my suggestion
   to download all RSS posts into a temp file and then process them as individual
   MySQL transactions.
 *  Plugin Author [Allen](https://wordpress.org/support/users/amweiss98/)
 * (@amweiss98)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/excerpt_functionsphp-on-line-684-error/#post-4594507)
 * the rss feeds, then, are simply made into blog posts using a cron scheduler and
   inputted into your mysql database in the exact same way any blog post is created
   on wordpress..the only other thing that happens now that is done my plugin is
   that in order to get the image into a featured image, it has to first be downloaded
   into a temp image and then uploaded into your media library – all using the standard
   wordpress protocols.
 * I’m not sure how this is different than what you are asking.
 *  Thread Starter [garystriplett](https://wordpress.org/support/users/garystriplett/)
 * (@garystriplett)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/excerpt_functionsphp-on-line-684-error/#post-4594518)
 * Do you use curl to download RSS feeds? No matter, that information has to be 
   stored either in RAM or to a temp file. After all RSS feed information, from 
   all sources have been downloaded, then they are processed. Am I correct?
 * In addition, a fact you did not address, how long is your “timeout” if images
   are unavailable. Shouldn’t it simply know an image is not available and move 
   to the next post rather than wait?
 *  Thread Starter [garystriplett](https://wordpress.org/support/users/garystriplett/)
 * (@garystriplett)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/excerpt_functionsphp-on-line-684-error/#post-4594655)
 * Allen, after 3 days that RSS Multi Importer did not function to pull new posts
   and without any changes to the server or other factors, new posts simply began
   posting again without fail.
 * I can only feel that there may have been one feed source that may have had a 
   corrupt or incorrectly constructed RSS feed that caused this plugin to not function
   correctly. After those posts had been replaced with new, I feel that the feeds
   once again were able to be processed. I wish we had been able to find this problem
   in order to assist you in making better an almost perfect plugin.
 * I certainly always appreciate your great efforts.
 *  Plugin Author [Allen](https://wordpress.org/support/users/amweiss98/)
 * (@amweiss98)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/excerpt_functionsphp-on-line-684-error/#post-4594657)
 * thanks…yes, the plugin works with RSS feeds, but relies on simplepie (something
   that is hooked into wordpress to read the feeds)…if the feed is corrupt, etc,
   there is nothing my plugin can do about it.
 *  Thread Starter [garystriplett](https://wordpress.org/support/users/garystriplett/)
 * (@garystriplett)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/excerpt_functionsphp-on-line-684-error/#post-4594658)
 * Thank you Allen. WordPress is only a compilation of php functions. Do you feel
   that you may be able to replace some of those functions, that have not been refined
   completely, with your own to better serve your great plugin?
 *  Plugin Author [Allen](https://wordpress.org/support/users/amweiss98/)
 * (@amweiss98)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/excerpt_functionsphp-on-line-684-error/#post-4594662)
 * I would have to rewrite the entire plugin in curl (then hope that users have 
   curl on the server)…I’m not likely to do this until I get a large block of time(
   which I never have).

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

The topic ‘excerpt_functions.php on line 684 error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-rss-multi-importer_a9b8a0.svg)
 * [WP RSS Multi Importer](https://wordpress.org/plugins/wp-rss-multi-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-rss-multi-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-rss-multi-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-rss-multi-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-rss-multi-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-rss-multi-importer/reviews/)

## Tags

 * [linux](https://wordpress.org/support/topic-tag/linux/)
 * [wp-cron.php](https://wordpress.org/support/topic-tag/wp-cron-php/)

 * 12 replies
 * 2 participants
 * Last reply from: [Allen](https://wordpress.org/support/users/amweiss98/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/excerpt_functionsphp-on-line-684-error/#post-4594662)
 * Status: not resolved