Hello @tboy123 ,
I had the exact same problem. How do you update this plugin? Manually or using the WP update system ?
I ask as, in my case, for my most sensitive plugins, I manually update them and, in general, to do so I just unzip the plugin’s new version zip in the wp-content/plugins
folder as most often all files are overwritten.
But when it’s not the case, you can get into some troubles.
Here, doing so you get multiple versions of main.*.js
under advanced-coupons-for-woocommerce-free\js\app\admin-app\build\static\js\
which, should not be a problem in fact.
But as you can read from line 566 in Admin_App.php , JS files are dynamically loaded (and a little bit further, so are CSS files).
Loading blindly resources is a bad idea and is a potential vulnerability?!
In my case (and maybe yours), those lines load all the previous JS versions you can have in this directory. And you may end with the wrong one winning the race… Even if everywhere else, the correct one is called by its name. So you can get NO ERROR, but things do not work as expected!
@fauzanade I strongly suggest you to correct the way you get an load those JS (and even CSS).
@tboy123 I suggest you to delete your current advanced-coupons-for-woocommerce-free
and unzip the latest zip to be sure to have a safe install.
Hope it helps!