Plugin no longer works after update 2 days ago.

[ad_1]

Hi @joyryde,

Thanks for the report!

Can you please check your javascript console and see if there is any errors there?

Right click the page, choose “Inspect” and click “Console” tab and take a screenshot for me.

Thanks!

Screenshot:

https://www.awesomescreenshot.com/image/44280120?key=b2abc9733f46bcf3257c70d4c5824f40

Cheers for the quick response @joyryde. We’re actively investigating this…

In the meantime, could you try adding the following snippet to your functions.php (or using a plugin like WPCode)

add_filter( 'wwof_enable_subresource_integrity_check', '__return_false' );

It’s possible this is something to do with your hosting setup. What kind of hosting are you working with here? Is it linux/unix based?

Hi Josh!

Our hosting is Cloudways, but it has never changed and we’ve used your plugin for years.

Something just changed in the last 2 days that caused this.

Firstly, thanks for being with us for that long @joyryde, that’s awesome!

We’ll check out Cloudways and see if there’s any issues there we can spot. It’s possible they’re just a little more strict on checking file integrity, or it could be some of their caching.

The issue is a failing integrity check on our built JS/CSS files. This can happen for a variety of reasons so just trying to narrow down.

Did the code snippet work to get around it and get you up and running?

We also use Cloudflare if you think that might be causing an issue?

I added your code snippet to test it and it generates a very broken plugin screen:

https://www.awesomescreenshot.com/image/44280796?key=111de2086fd1d13ef7f7dc937892e33f

Ok, thanks. Looks like we’re part way there!

Can you also add this to the snippet:

add_filter( 'wwof_enable_subresource_integrity_check', '__return_false' );

add_filter( 'acfw_enable_subresource_integrity_check', '__return_false' );

Regarding Cloudflare, can I check, are you using Auto Minify feature?

https://developers.cloudflare.com/speed/optimization/content/auto-minify/

It’s possibly the hash for the file is changed if they are touching it or processing it in some way.

Adding those 3 snippets together fixed the issue…does that help determine the cause?

We do not autominify anything via Cloudflare as it causes issues.

Awesome, glad you’re up and running again.

What we’ll do is on the next version, we’re going to make this integrity check an advanced option to turn on – it’ll be off by default so shouldn’t cause any issues and you’ll be able to safely remove that code snippet work around.

Thanks for sticking with me and helping to narrow down! Would love a review if you’re up for it and have a minute to spare? It’s always great to hear from long term users 🙂

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer