Hello,
Can you please share the error you get when you try to upload the images?
This is exactly what I’m facing on my Multisite
https://i.imgur.com/bZy1iVW.png
It happens as soon as I enable W3 from Network settings. None of the multisite is able to upload image.
-
This reply was modified 7 years, 4 months ago by
moisture9063.
Did the issue occur after the update?
Thank you for the reply. I turned off the HTML minify but the specific issue still persists, however, I noticed one thing got corrected. The wordpress admin bar when viewing the site from frontend now loads correctly.
I found this thread because after the upgrade to version 0.9.7.1 of W3 Total Cache plugin, I was getting “HTTP Error” when uploading images to Media Library.
The following workaround of Marko Vasiljevic worked for me as described on thread https://ww.wp.xz.cn/support/topic/error-after-upgrade-29/
What happens is:
In wp-content/plugins/w3-total-cache/Cdn_Plugin.php on line 74 there is this:
add_filter( 'wp_insert_attachment_data',
array( $this, 'check_inserting_new_attachment' ) );
It should be this:
add_filter( 'wp_insert_attachment_data',
array( $this, 'check_inserting_new_attachment' ), 10, 2 );
Hopefully a fix will be released soon. Thank you Marko!
@harrisanas Thank you for pointing to the post! This worked.
@ngrhd Glad for helping! Credits to Marko Vasiljevic @vmarko
-
This reply was modified 7 years, 4 months ago by
harris.anas.
Hello,
Glad to know the issue was resolved!
@harrisanas Thank you very much!
@vmarko any idea when an update will come out?
@harrisanas You´re my hero! Thanks a lot!
I can confirm that this error starts occurring after the latest update of W3 Total Cache and it seems to me that it only affects users with a configured CDN. I used the fix mentioned by @harrisanas above which resolved the issue for me. Hope this report helps to fix the error in the next update.
I’m having the same problem. Any idea when a plugin fix is coming for this? I haven’t been able to update my image on my site since this W3TC upgrade. Thank you.