最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

plugins - Failed GET Request From admin.php To Fetch .min.js File From Unminifed Directory

programmeradmin4浏览0评论

I'm just trying to track down which plugin is making a request for this asset. I'm working with a fresh install of WordPress, Astra theme 2.4.0 and the same version of the Astra Pro plugin, then the current version of Elementor basic, and LifterLMS.

This is the incorrect path in question: https://thewebsitedotcom/wp-content/plugins/astra-addon/addons/lifterlms/assets/js/unminified/lifterlms-builder-settings.min.js?ver=2.4.0

I see that the asset needed is in the Astra Pro plugin, since if I copy/paste the link in the browser, remove the 'un' in unminified, I get the minified file. Likewise, if I just remove the '.min' portion of the js file name, I get the unminified back. So an error was made in writing this path.

It says the asset failed to load at admin.php:2795:1, right in wp-admin. So I'm assuming admin.php is just including files that it needs from other plugins and whatnot in the install? What I'm trying to figure out is which software in this install is requesting the asset through admin.php? Is this a simple answer that I should know?

Sorry, I normally do general full stack dev work with JS and PHP, with some WordPress sprinkled in there. Sometimes it feels like theses little issues like an incorrect path can be so difficult to solve because of all the different pieces working in WordPress.

Thanks for any help you can offer. I will promptly supply any screenshots, dumps, logs, whatever needed to make this easier to fix.

发布评论

评论列表(0)

  1. 暂无评论