• Resolved tonyko33

    (@toniko33)


    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

    (@influxfooplugins)

    Hi @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

    (@bradvin)

    hey @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

    (@toniko33)

    Thank you @bradvin !

    You’re right ! I enable the “Override Thumb test” and it work perfectly.
    But when I disable again, the problem reappears…

    @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 4 years ago by tonyko33.
    • This reply was modified 4 years ago by tonyko33.
    • This reply was modified 4 years ago by tonyko33.
    Plugin Author bradvin

    (@bradvin)

    It is fine to leave the override in place. It was added for this reason

    Thread Starter tonyko33

    (@toniko33)

    HI @bradvin

    Thank you for helping me.
    So i keep the box checked to solved the problem.

    Thanks a lot.

    • This reply was modified 4 years ago by tonyko33.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘HTTP API Call – 404 Not Found’ is closed to new replies.