W3TC Image service
-
Hi,
I have activated the Image Service extension that came with the latest W3TC. When I go on Media -> Total Cache Image Service I get the following error:
There has been a critical error on this website. Please check your site admin email inbox for instructions.
This is stack trace:
[24-Nov-2021 09:04:55 UTC] PHP Fatal error: Uncaught Error: Call to a member function stat() on bool in /home/c0000-bot/zacks.eu/htdocs/wp-content/plugins/ssh-sftp-updater-support/class-wp-filesystem-ssh2.php:253 Stack trace: #0 /home/c0000-bot/zacks.eu/htdocs/wp-content/plugins/w3-total-cache/Extension_ImageService_Plugin_Admin.php(324): WP_Filesystem_SSH2->exists() #1 /home/c0000-bot/zacks.eu/htdocs/wp-content/plugins/w3-total-cache/Extension_ImageService_Plugin_Admin.php(405): W3TC\Extension_ImageService_Plugin_Admin->get_attachment_filesize() #2 /home/c0000-bot/zacks.eu/htdocs/wp-content/plugins/w3-total-cache/Extension_ImageService_Plugin_Admin.php(434): W3TC\Extension_ImageService_Plugin_Admin->get_counts() #3 /home/c0000-bot/zacks.eu/htdocs/wp-includes/class-wp-hook.php(303): W3TC\Extension_ImageService_Plugin_Admin->settings_page() #4 /home/c0000-bot/zacks.eu/htdocs/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters() #5 /home/c0000-bot/zacks.eu/htdocs/wp-includes/plugin.php(470): WP_Hook->do_action() #6 /home/c0000-bot/zacks.eu/htdocs/ in /home/c0000-bot/zacks.eu/htdocs/wp-content/plugins/ssh-sftp-updater-support/class-wp-filesystem-ssh2.php on line 253
Can you please “fix” the Image Service extension to work correctly with WP_Filesystem API. The extension requests to use WP_Filesystem API, but does not check the returned answer as to whether it can be used or not… it just carries on and attempts, resulting in a fatal error in the case where the answer from WordPress was “you can’t use this at this point”. Thank you.
The page I need help with: [log in to see the link]
- The topic ‘W3TC Image service’ is closed to new replies.