I cannot figure out why I am getting the following errors in my browser console consistently, even after the last 3 updates—and in each case I made a clean install:
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (popper.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (dropdown.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (util.js.map, line 0)
I have tried to locate the files; they do not exist. The errors point to the following directory(s): plugins/themes/default/js/lib/bootstrap/ and plugins/themes/default/js/lib/popper/
Details:
OJS 3.1.2.1
I reinstalled new updates clean
I have looked through the logs but do not see any errors, just warnings.
Hi everyone, these errors will not effect your site in any way. The .map files are only used for development purposes. Do not rename the popper.js, dropdown.js or util.js files or you may cause problems with your site.
On the last line of the above-mentioned .js files, just remove the # after the //. This will do it and the .map files will not be accessed.
I do this usually on child themes that I derive from the default theme (but not on the original default theme).