Title: Error when updating post:
Last modified: August 31, 2016

---

# Error when updating post:

 *  Resolved [Jay](https://wordpress.org/support/users/jkd987324/)
 * (@jkd987324)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-when-updating-post/)
 * Hello,
 * I’m getting 3 errors when updating some posts: (I’ve removed the long urls specific
   to my host and replaced them with …). Thanks for any help.
 * Warning: file_get_contents([http://i2.wp.com/surrealismtoday.com/wp-content/uploads/2016/02/Album-Cover-Capa-de-Álbum-by-Marcel-Lisboa.jpg?resize=408%2C379](http://i2.wp.com/surrealismtoday.com/wp-content/uploads/2016/02/Album-Cover-Capa-de-Álbum-by-Marcel-Lisboa.jpg?resize=408%2C379)):
   failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request in …/publish-
   to-apple-news/includes/apple-push-api/class-mime-builder.php on line 115
 * Warning: Cannot modify header information – headers already sent by (output started
   at … /publish-to-apple-news/includes/apple-push-api/class-mime-builder.php:115)
   in … wp-admin/post.php on line 197
 * Warning: Cannot modify header information – headers already sent by (output started
   at
    … -includes/pluggable.php on line 1171
 * [https://wordpress.org/plugins/publish-to-apple-news/](https://wordpress.org/plugins/publish-to-apple-news/)

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

 *  Plugin Author [Bradford Campeau-Laurion](https://wordpress.org/support/users/potatomaster/)
 * (@potatomaster)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-when-updating-post/#post-7367058)
 * Please make sure your host has `allow_url_fopen` enabled for PHP. Otherwise, 
   we’ll be releasing an update in version 1.1.1 that will create a new method of
   fetching images that will also resolve this issue.
 *  Thread Starter [Jay](https://wordpress.org/support/users/jkd987324/)
 * (@jkd987324)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-when-updating-post/#post-7367063)
 * Hello,
 * My host’s website says the following:
 * > If enabled, allow_url_fopen allows PHP’s file functions to retrieve data from
   > remote locations such as an FTP server or web site, and could lead to code 
   > injection vulnerabilities. Typically, these code injection vulnerabilities 
   > occur from improper input filtering when passing user-provided data to PHP 
   > functions. Disabling this function will help considerably in stopping your 
   > site(s) from being compromised, as well as help thwart the unauthorized use
   > of our servers for abusive or malicious purposes.
 * Are they being overly cautious?
 *  Plugin Author [Bradford Campeau-Laurion](https://wordpress.org/support/users/potatomaster/)
 * (@potatomaster)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-when-updating-post/#post-7367064)
 * WordPress.com VIP, which is the most secure and hardened WordPress host available
   and caters to the largest sites on the internet permits that code. Yes, they’re
   being overly cautious.
 * If they won’t allow it, the next version of the plugin will fix this for you.
 *  Plugin Author [Bradford Campeau-Laurion](https://wordpress.org/support/users/potatomaster/)
 * (@potatomaster)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-when-updating-post/#post-7367272)
 * Version 1.1.2 was just released which now supports remote images. Please set 
   Use Remote Images to ‘yes’ in the plugin settings under Settings > Apple News
   > Advanced Settings.
 * This will allow the Apple News API to retrieve images remotely from your site
   rather than bundle them with the request, which will eliminate this potential
   error with your web host.
 *  Thread Starter [Jay](https://wordpress.org/support/users/jkd987324/)
 * (@jkd987324)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-when-updating-post/#post-7367277)
 * Thank you Bradford! Thats seems to have fixed it! Cheers.

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

The topic ‘Error when updating post:’ is closed to new replies.

 * ![](https://ps.w.org/publish-to-apple-news/assets/icon-256x256.png?rev=3017580)
 * [Publish To Apple News](https://wordpress.org/plugins/publish-to-apple-news/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/publish-to-apple-news/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/publish-to-apple-news/)
 * [Active Topics](https://wordpress.org/support/plugin/publish-to-apple-news/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/publish-to-apple-news/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/publish-to-apple-news/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Jay](https://wordpress.org/support/users/jkd987324/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/error-when-updating-post/#post-7367277)
 * Status: resolved