Title: HTTP API Call &#8211; 404 Not Found
Last modified: November 20, 2020

---

# HTTP API Call – 404 Not Found

 *  Resolved [tonyko33](https://wordpress.org/support/users/toniko33/)
 * (@toniko33)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/http-api-call-404-not-found/)
 * I use your plugin and it works very well. I also use query monitor.
 * On the WordPress dashboard, when I select “System Information” in the FooGallery
   settings panel, query monitor displays an error message about HTTP API Call.
 * It displays the following message 404 not Found due to HEAD caller :
    FooGallery_Thumbnails-
   >image_file_exists() wp-content/plugins/foogallery/includes/class-thumbnails.
   php:226 FooGallery_Thumbnails->find_first_image_in_media_library() wp-content/
   plugins/foogallery/includes/class-thumbnails.php:208 apply_filters(‘foogallery_test_thumb_url’)
   wp-includes/plugin.php:206 foogallery_test_thumb_url() wp-content/plugins/foogallery/
   includes/functions.php:851 FooGallery_Admin_Menu->foogallery_systeminfo() wp-
   content/plugins/foogallery/includes/admin/class-menu.php:103 do_action(‘foogallery_page_foogallery-
   systeminfo’) wp-includes/plugin.php:478
 * The problem I observe is that FooGallery to perform its tests will look for the
   first images of the site contained in the UPLOADS/2020/04 folder (the first image
   folder in my case). The problem is that I deleted these images a long time ago
   because I don’t use them on my site. But FooGallery has kept these images and
   their path in memory. There are only 3 .png images left in this folder.
 * Why doesn’t the plugin search for new images instead of old images that no longer
   exist?
 * Is there a way to fix this.
 * Thanks

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

 *  [fooplugins-support](https://wordpress.org/support/users/influxfooplugins/)
 * (@influxfooplugins)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/http-api-call-404-not-found/#post-13690088)
 * Hi [@toniko33](https://wordpress.org/support/users/toniko33/)
 * The issue may be caused by your caching mechanism may be caching an older version
   of the plugin or not including newer scripts, images, or stylesheets. Whether
   you use a plugin for caching or your host provides built-in caching, please purge
   your website caches if you do have a coaching mechanism and see if this will 
   help fix the error.
 * Also, once on the WordPress admin dashboard, navigate to FooGallery -> Settings
   and click on the blue “Clear Gallery HTML Cache” and “Clear CSS Optimization 
   Cache” buttons.
 * Kindly try both out and let us know how it goes.
 * Kind regards,
    Elvis.
 *  Plugin Author [bradvin](https://wordpress.org/support/users/bradvin/)
 * (@bradvin)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/http-api-call-404-not-found/#post-13691303)
 * hey [@toniko33](https://wordpress.org/support/users/toniko33/)
 * I just wanted to let you know how the thumb generation test works under the hood.
   
   We run a query from your WordPress database and pull attachments. This means 
   that if you have deleted the files that these attachments link to, then you will
   run into the scenario you are seeing.
 * Try enabling the “Override Thumb Test” under FooGallery Settings -> Advanced 
   tab
 *  Thread Starter [tonyko33](https://wordpress.org/support/users/toniko33/)
 * (@toniko33)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/http-api-call-404-not-found/#post-13706573)
 * Thank you [@bradvin](https://wordpress.org/support/users/bradvin/) !
 * You’re right ! I enable the “Override Thumb test” and it work perfectly.
    But
   when I disable again, the problem reappears…
 * [@influxfooplugins](https://wordpress.org/support/users/influxfooplugins/) I 
   don’t have a caching system on my site. I contact my host and come back to you.
 * Thank you
    -  This reply was modified 5 years, 6 months ago by [tonyko33](https://wordpress.org/support/users/toniko33/).
    -  This reply was modified 5 years, 6 months ago by [tonyko33](https://wordpress.org/support/users/toniko33/).
    -  This reply was modified 5 years, 6 months ago by [tonyko33](https://wordpress.org/support/users/toniko33/).
 *  Plugin Author [bradvin](https://wordpress.org/support/users/bradvin/)
 * (@bradvin)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/http-api-call-404-not-found/#post-13707025)
 * It is fine to leave the override in place. It was added for this reason
 *  Thread Starter [tonyko33](https://wordpress.org/support/users/toniko33/)
 * (@toniko33)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/http-api-call-404-not-found/#post-13712954)
 * HI [@bradvin](https://wordpress.org/support/users/bradvin/)
 * Thank you for helping me.
    So i keep the box checked to solved the problem.
 * Thanks a lot.
    -  This reply was modified 5 years, 6 months ago by [tonyko33](https://wordpress.org/support/users/toniko33/).

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

The topic ‘HTTP API Call – 404 Not Found’ is closed to new replies.

 * ![](https://ps.w.org/foogallery/assets/icon-256x256.gif?rev=2602542)
 * [Photo Gallery by FooGallery : Responsive Image Gallery, Masonry Gallery & Carousel](https://wordpress.org/plugins/foogallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/foogallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/foogallery/)
 * [Active Topics](https://wordpress.org/support/plugin/foogallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/foogallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/foogallery/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [tonyko33](https://wordpress.org/support/users/toniko33/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/http-api-call-404-not-found/#post-13712954)
 * Status: resolved