Bug Loading JS file
-
There is a 404 error in my Developer Console looking for ud-dismiss.js:
https://3cd.co/1B0V1m2W0j1GIt’s due to this line:
$s = str_replace( wp_normalize_path( ABSPATH ), ”, get_stylesheet_directory() );
found in the Utility class here:
/wp-stateless/vendor/usabilitydynamics/lib-wp-bootstrap/lib/classes/class-utility.php
Line 71.It doesn’t support the theme directory being in a different folder from the WordPress directory. In my case, it’s trying to do a string replace with:
/wp/ in the string: /site/themes/my-theme/, which doesn’t exist.I noticed this when editing a post in the WordPress Admin, however the error seems to load on all screens of the WP Admin.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Bug Loading JS file’ is closed to new replies.