Tagged: BunnyCDN
- AuthorPosts
- November 8, 2023 at 1:28 pm #114776Joren RothmanGuest
Hi
I’ve found a bug with the new CDN option BunnyCDN, when this option is enabled and configured it breaks uploading to the WordPress media library.
I did some investigating and found that there is a typo in the following file:
CdnEngine_Mirror_BunnyCdn.php
Line 64:
$api = new Cdn_BunnyCDN_Api( $this->_config );should be:
$api = new Cdn_BunnyCdn_Api( $this->_config );The “CDN” should not be capitalized.
This file also contains the typo: Cdn_BunnyCdn_Api.php
Line 3:
File: Cdn_BunnyCDN_Api.phpShould be:
File: Cdn_BunnyCdn_Api.phpThis typo is just in a comment
November 8, 2023 at 1:35 pm #114847Marko VasiljevicKeymasterHello Joren
Thank you for reaching out and I am happy to help!
Can you please share specifically what happens when you try to upload a new image in the medial library when the CDN option is enabled?
Please go to the W3 Total Cache settings – Performance>CDN>Advanced, and enable the option “Only purge CDN manually” Save all settings and purge the cache, and let me know if the issue persists.
Thanks!November 9, 2023 at 9:27 am #115009Joren RothmanGuestThere is a typo in the code which results in a fatal error, it happens when bunny is enabled and you upload something to the media library. I think the error is not relevant.
November 9, 2023 at 9:30 am #115097Marko VasiljevicKeymasterHello Joren,
Thank you for your feedback.
I completely understood the first post. However, I do not understand the last one. What do you mean by “the error is not relevant”
Can you please check if the option “Only purge CDN manually” is enabled?
Thanks! - AuthorPosts
- The topic ‘Bug Report w3 total cache 2.6.0’ is closed to new replies.