Title: php warning
Last modified: September 18, 2023

---

# php warning

 *  [dolceremy](https://wordpress.org/support/users/centoasa/)
 * (@centoasa)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/php-warning-452/)
 * I use php 8.2.5
 * PHP Warning: get_headers([https://www.eugenioruberto.it/autore/remigio/amp/page/4/](https://www.eugenioruberto.it/autore/remigio/amp/page/4/)):
   Failed to open stream: HTTP request failed! in /home/hide/domains/eugenioruberto.
   it/public_html/wp-content/plugins/accelerated-mobile-pages/classes/class-ampforwp-
   infinite-scroll.php on line 224
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-warning-452%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [dolceremy](https://wordpress.org/support/users/centoasa/)
 * (@centoasa)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/php-warning-452/#post-17059056)
 * tested also in 8.0.28: same issue
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/php-warning-452/#post-17059444)
 * Hi, thanks for reaching out to us. Could you please switch back to the previous
   version and check if you’re still encountering the same issue? Kindly do this
   once and let us know so we can offer you a better solution.
 *  Thread Starter [dolceremy](https://wordpress.org/support/users/centoasa/)
 * (@centoasa)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/php-warning-452/#post-17059595)
 * back to php 8.2.5, open page [https://www.eugenioruberto.it/autore/remigio/amp/](https://www.eugenioruberto.it/autore/remigio/amp/)
 * and server log have:
 * [STDERR] PHP Warning: get_headers([https://www.eugenioruberto.it/autore/remigio/amp/page/4/](https://www.eugenioruberto.it/autore/remigio/amp/page/4/)):
   Failed to open stream: HTTP request failed! in /public_html/wp-content/plugins/
   accelerated-mobile-pages/classes/class-ampforwp-infinite-scroll.php on line 224\
   n
 *  Thread Starter [dolceremy](https://wordpress.org/support/users/centoasa/)
 * (@centoasa)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/php-warning-452/#post-17067636)
 * disabled infinite scroll ([https://wordpress.org/support/topic/very-important-issue-on-google-search/](https://wordpress.org/support/topic/very-important-issue-on-google-search/)),
   this issue disapper from server log.
 * With infinite scroll enabled, the Physical Memory Usagewas very high (red arrow);
   disabled (blue arrow) goes down.
 * [https://nimb.ws/xgbdwf](https://nimb.ws/xgbdwf)
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/php-warning-452/#post-17070455)
 * Hi there, We will investigate the infinite scroll option, as it seems to be working
   well during our testing. Additionally, since your issue has been resolved, would
   you still like to continue using the infinite scroll?

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

The topic ‘php warning’ is closed to new replies.

 * ![](https://ps.w.org/accelerated-mobile-pages/assets/icon-256x256.png?rev=1693616)
 * [AMP for WP - Accelerated Mobile Pages](https://wordpress.org/plugins/accelerated-mobile-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accelerated-mobile-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accelerated-mobile-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accelerated-mobile-pages/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/php-warning-452/#post-17070455)
 * Status: not resolved