Title: fopen errors
Last modified: August 31, 2016

---

# fopen errors

 *  [PPNSteve](https://wordpress.org/support/users/ppnsteve/)
 * (@ppnsteve)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/fopen-errors/)
 * getting some errors when checking some AMP based posts..
 *     ```
       Warning: fopen(//assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png): failed to open stream: No such file or directory in /home/[username]/public_html/wp-content/plugins/amp/includes/lib/class-fastimage.php on line 31
   
       Warning: fopen(<a href=): failed to open stream: No such file or directory in /home/[username]/public_html/wp-content/plugins/amp/includes/lib/class-fastimage.php on line 31
       ```
   
 * Not sure why it’s doing this.. help!
 * [https://wordpress.org/plugins/amp/](https://wordpress.org/plugins/amp/)

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

 *  [Mohammad Jangda](https://wordpress.org/support/users/batmoo/)
 * (@batmoo)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/fopen-errors/#post-7100305)
 * 0.3.1 should hopefully fix this.
 *  Thread Starter [PPNSteve](https://wordpress.org/support/users/ppnsteve/)
 * (@ppnsteve)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/fopen-errors/#post-7100311)
 * sounds good.. we’ll let you know once we have the update.
 *  [gooma2](https://wordpress.org/support/users/gooma2/)
 * (@gooma2)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/fopen-errors/#post-7100312)
 * thanks again for putting together this plugin! I’m sure they’ll be more headaches
   to come as this rolls out larger.
 *  Thread Starter [PPNSteve](https://wordpress.org/support/users/ppnsteve/)
 * (@ppnsteve)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/fopen-errors/#post-7100323)
 * OK, updated and it looks good so far on my AMP previews and whatnot.. no errors.
 * thanks again for your work on this great plugin.
 *  [Mohammad Jangda](https://wordpress.org/support/users/batmoo/)
 * (@batmoo)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/fopen-errors/#post-7100385)
 * Glad to hear it’s working now!
 *  [thomasatsmf](https://wordpress.org/support/users/thomasatsmf/)
 * (@thomasatsmf)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/fopen-errors/#post-7100583)
 * I’m still getting the same error on version 0.3.2.
 * I think it is happening on the first time each AMP-produced page is opened. So,
   if you reload, or return, the error is gone.
 *     ```
       <b>Warning</b>:  fopen(/wp-content/uploads/2016/01/2.1_resolutionreboot.jpg): failed to open stream: No such file or directory in <b>/nas/content/staging/growmagazine/wp-content/plugins/amp/includes/lib/class-fastimage.php</b> on line <b>31</b><br />
       ```
   
 *  Thread Starter [PPNSteve](https://wordpress.org/support/users/ppnsteve/)
 * (@ppnsteve)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/fopen-errors/#post-7100586)
 * The fopen errors are back…
    in /home/yugioh-w/public_html/wp-content/plugins/
   amp/includes/lib/class-fastimage.php on line 31 Mar 15, 06:11:56 PHP Warning:
   fopen([http://www.yugioh-world.com/episodes/images/s0/10/000030.jpg](http://www.yugioh-world.com/episodes/images/s0/10/000030.jpg)):
   failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/yugioh-
   w/public_html/wp-content/plugins/amp/includes/lib/class-fastimage.php on line
   31 Mar 15, 06:11:56 PHP Warning: fopen([http://www.yugioh-world.com/episodes/images/s0/10/000050.jpg](http://www.yugioh-world.com/episodes/images/s0/10/000050.jpg)):
   failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/yugioh-
   w/public_html/wp-content/plugins/amp/includes/lib/class-fastimage.php on line
   31 Mar 15, 06:11:56 PHP Warning: fopen([http://www.yugioh-world.com/episodes/images/s0/10/000070.jpg](http://www.yugioh-world.com/episodes/images/s0/10/000070.jpg)):
   failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
 *  [Ivan](https://wordpress.org/support/users/calvin13/)
 * (@calvin13)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/fopen-errors/#post-8668339)
 * Same error in logs (AMP 0.4.2 version):
 * mod_fcgid: stderr: PHP Warning: fopen([https://i0.wp.com/&#8230](https://i0.wp.com/&#8230);..
   jpg?resize=522%2C415): failed to open stream: no suitable wrapper could be found
   in wp-content/plugins/amp/includes/lib/class-fastimage.php on line 31
 * only with photon jetpack images… AMP problem or Jetpack problem?

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

The topic ‘fopen errors’ is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

 * 8 replies
 * 5 participants
 * Last reply from: [Ivan](https://wordpress.org/support/users/calvin13/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/fopen-errors/#post-8668339)
 * Status: not resolved