Empty Cache: Image Files Not Being Generated
-
Hi again Takis. I’m not sure if this is related to the PHP 7.4.32 error I reported previously – so I opened a new thread. I installed Adaptive Images on a site several years ago and the plugin worked perfectly (as advertised) – until August 2022. I wasn’t aware that it had stopped caching images until checking it today. (The plugin was generating, optimizing & caching images up until August 2022.)
The reason I checked is because I’m trying to set up Adaptive images on another site (per my previous thread) and I managed to get the plugin to generate the cache directory BUT the plugin is not generating resized and optimized images; the cache is showing 0 images. I have now tested this on 3 separate sites and the plugin isn’t generating or optimizing images on any of them. Here’s an overview of what I’ve done:
– scrolled through each site on my mobile phone and in my desktop browser using the Developer Tools mobile emulator (setting the screen to super small width)
– tested on Plesk (x 2 site) and cPanel (x 1 site) hosting
– WordPress and plugin versions are the latest (most up to date)
– all platforms are running PHP v7.4.32
– all 3 platforms are running Apache (not NGINX)
– I have disabled all other plugins
– verified the .htaccess file was created and is accurate
– checked folder permissions
– saved & re-saved settings
– deactivated and reactivated the plugin (and uninstalled and did a fresh install too)
– turned on debugging in wp-config
– installed the Query Monitor plugin
– checked the PHP error logs on each server
– I’m not seeing ANY errorsI suspect I’m missing something really basic – but I’ve run out of ideas. Is the plugin working for you as expected running WP v6.0.2 & PHP v7.4.32?
…here is the redacted Print Debug Info (installed in a /wp2022/ test directory):
PHP GD library is installed. ? Image cache directory has been created. /home/example/public_html/wp2022/wp-content/cache/adaptive-images => drwxr-xr-x ? Installation .htaccess file is setup OK. /home/example/public_html/wp2022/.htaccess => -rw-r--r-- ? Adaptive images settings dump: array(14) { ["resolutions"]=> array(4) { [0]=> int(1024) [1]=> int(768) [2]=> int(640) [3]=> int(480) } ["landscape"]=> bool(true) ["hidpi"]=> bool(true) ["cache-directory"]=> string(21) "cache/adaptive-images" ["watched-directories"]=> array(2) { [0]=> string(18) "wp-content/uploads" [1]=> string(17) "wp-content/themes" } ["jpeg-quality"]=> int(60) ["sharpen-images"]=> bool(true) ["watch-cache"]=> bool(true) ["browser-cache"]=> float(180) ["cdn-support"]=> bool(false) ["version"]=> string(6) "0.6.70" ["sanitized"]=> bool(true) ["wp-content-dir"]=> string(44) "/home/example/public_html/wp2022/wp-content" ["wp-content-url"]=> string(48) "https://www.example.com/wp2022/wp-content" }
Thanks for your time!
pk
- The topic ‘Empty Cache: Image Files Not Being Generated’ is closed to new replies.