Hello, I have been trying to debug this issue for about two weeks and at this point I have come to a point where is nothing I can think of to resolve the issue. I’m finally posting now because the errors are only going to continue to get worse. The site I am working on is https://dwightslade.com
Everytime I delete an image either through the admin media interface or manually I get the 404 error. Even when I replace the image. For whatever reason these images are still being referenced and I’ve tried everything to resolve it.
I have cleared cash, deactivated plugins to check for plugin conflict I have also refreshed permalinks Nothing is fixing the issue. I also changed the theme to default 2017 for further debugging and this resolved the errors.
The slider image remains a 404 error even when the plugin is deactivated. So I don’t think it a conflict with LayerSlider but I don’t know for sure because there was a bigger issue with fonts but that was resolved when I deactivate LayerSlider and reactivated it. The fonts were resolved but still the missing image (which isn’t really missing) is still present. Only the reference to the earlier uploaded file is missing.
This issue is not just an issue with LayerSlider though. This is also causing problems when I deleted two images, one was a thumbnail preview in Essential Grid which was replaced with an optimized version. As soon as I deleted the non-optimized version, a new error appeared This happened also when I deleted a preview thumbnail and replaced with an optimized version with the same name in the skins folder of LayerSlider.
This continues to downgrade my pagespeed ratings because there are missing resource links that I can’t resolve. My fear is that anytime I delete an image this is going to be a problem.
My only idea here is that this is a jquery problem. Please help.
Here are the errors I’m receiving in the console:
GET https://dwightslade.com/wp-content/uploads/2018/08/Dry-Bar-Comedy-Preview.jpg 404 jquery-1.12.4.js:5 GET https://dwightslade.com/wp-content/uploads/2018/09/Ds-Hero-img3.jpg 404 (anonymous) @ jquery-1.12.4.js:5 Y @ jquery-1.12.4.js:3 n.fn.(anonymous function) @ jquery-1.12.4.js:5 r @ 24d65a8635fdbc03a6bf418ccdcb0271.js:12 (anonymous) @ 24d65a8635fdbc03a6bf418ccdcb0271.js:12 (anonymous) @ 24d65a8635fdbc03a6bf418ccdcb0271.js:12 (anonymous) @ 24d65a8635fdbc03a6bf418ccdcb0271.js:12 (anonymous) @ 24d65a8635fdbc03a6bf418ccdcb0271.js:12 f @ 24d65a8635fdbc03a6bf418ccdcb0271.js:12 (anonymous) @ 24d65a8635fdbc03a6bf418ccdcb0271.js:12 /wp-content/plugins/LayerSlider/static/layerslider/skins/v6/nothumb.png:1 GET https://dwightslade.com/wp-content/plugins/LayerSlider/static/layerslider/skins/v6/nothumb.png 404 Image (async) thumbnails @ VM2886:1 imagesOfSlide @ VM2886:1 changeTo @ VM2886:1 init @ VM2886:1 (anonymous) @ VM2886:1 setTimeout (async) (anonymous) @ VM2886:1 dispatch @ jquery-1.12.4.js:3 r.handle @ jquery-1.12.4.js:3 load (async) add @ jquery-1.12.4.js:3 a.event.add @ 24d65a8635fdbc03a6bf418ccdcb0271.js:1 (anonymous) @ jquery-1.12.4.js:3 each @ jquery-1.12.4.js:2 each @ jquery-1.12.4.js:2 sa @ jquery-1.12.4.js:3 on @ jquery-1.12.4.js:3 load @ VM2886:1 skins @ VM2886:1 initialized @ VM2886:1 global @ VM2886:1 load @ VM2886:1 t @ VM2886:1 (anonymous) @ VM2886:1 each @ jquery-1.12.4.js:2 each @ jquery-1.12.4.js:2 e.fn.layerSlider @ VM2886:1 (anonymous) @ 24d65a8635fdbc03a6bf418ccdcb0271.js:13 i @ jquery-1.12.4.js:2 fireWith @ jquery-1.12.4.js:2 ready @ jquery-1.12.4.js:2 K @ jquery-1.12.4.js:2t
Thanks
Pelan