Title: 404 errors loading CSS and JS assets
Last modified: November 1, 2025

---

# 404 errors loading CSS and JS assets

 *  Resolved [feisar](https://wordpress.org/support/users/feisar/)
 * (@feisar)
 * [7 months, 1 week ago](https://wordpress.org/support/topic/404-errors-loading-css-and-js-assets/)
 * The plugin is trying to load the various CSS & JS assets from the wrong place.
   For example, it’s looking for:
 * /wp-content/plugins/frontblocks/assets/dist/frontblocks-carousel.css?ver=1.2.0
 * whereas it should be:
 * /wp-content/plugins/frontblocks/assets/carousel/frontblocks-carousel.css?ver=
   1.2.0
 * so nothing works on the front end.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [feisar](https://wordpress.org/support/users/feisar/)
 * (@feisar)
 * [7 months, 1 week ago](https://wordpress.org/support/topic/404-errors-loading-css-and-js-assets/#post-18703302)
 * I’ve discovered it seems to be related to the WP_DEBUG mode. If this is set to
   true in wp-config.php, it will correctly load some assets. However, `glide.min.
   js` is hard-coded with the `/dist/` part of the path. See:
   [https://github.com/closemarketing/frontblocks/blob/475e49fd1390a9ac80b95b77c93bf74fcc6266ee/includes/Plugin_Main.php#L125](https://github.com/closemarketing/frontblocks/blob/475e49fd1390a9ac80b95b77c93bf74fcc6266ee/includes/Plugin_Main.php#L125)
 *  Plugin Author [David Perez](https://wordpress.org/support/users/davidperez/)
 * (@davidperez)
 * [7 months, 1 week ago](https://wordpress.org/support/topic/404-errors-loading-css-and-js-assets/#post-18703322)
 * Apologies for the errors. We will solve ASAP on monday and upload a minor version
   to fix it.
 *  Plugin Author [David Perez](https://wordpress.org/support/users/davidperez/)
 * (@davidperez)
 * [7 months, 1 week ago](https://wordpress.org/support/topic/404-errors-loading-css-and-js-assets/#post-18703325)
 * Solved in version 1.2.1 that will be launched in some minutes.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘404 errors loading CSS and JS assets’ is closed to new replies.

 * ![](https://ps.w.org/frontblocks/assets/icon-256x256.png?rev=3035560)
 * [FrontBlocks for Gutenberg/GeneratePress](https://wordpress.org/plugins/frontblocks/)
 * [Support Threads](https://wordpress.org/support/plugin/frontblocks/)
 * [Active Topics](https://wordpress.org/support/plugin/frontblocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/frontblocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/frontblocks/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [David Perez](https://wordpress.org/support/users/davidperez/)
 * Last activity: [7 months, 1 week ago](https://wordpress.org/support/topic/404-errors-loading-css-and-js-assets/#post-18703325)
 * Status: resolved