Title: scripts and css don&#8217;t load
Last modified: December 8, 2022

---

# scripts and css don’t load

 *  Resolved [Jack All](https://wordpress.org/support/users/jack-all/)
 * (@jack-all)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/scripts-and-css-dont-load/)
 * Fancybox does not work anymore on my site. It did but I don’t check it very often.
 * I get 4 errors in console when loading fancybox sources. One of them is this:
   `
   Refused to execute script from 'https://<mywebsite>/wp-content/plugins/easy-fancybox/
   fancybox/F/jquery.fancybox.min.js?ver=4.9.1' because its MIME type ('text/html')
   is not executable, and strict MIME type checking is enabled.`
 * Folder F does not exist. Where does the Folder /F/ come from? In that folder 
   only fancybox versions are visible.
 * What can be wrong here? I cleared cache, disabled other plugins etc.
 * If I create the F folder manually, and place the missing files in it, Fancybox
   works. But which version should go in there?
 * Thanks for taking the time to help me,
 * Jack.
    -  This topic was modified 3 years, 4 months ago by [Jack All](https://wordpress.org/support/users/jack-all/).

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

 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/scripts-and-css-dont-load/#post-16273463)
 * Hi [@jack-all](https://wordpress.org/support/users/jack-all/) that `/F/` does
   not make sense and should not be there. Could you disable, then uninstall and
   re-install the Easy FancyBox plugin? If that solves the issue, then somehow the
   plugin files on your site were modified. But if it remains, then somehow the 
   script version number is being replaced by the letter F.
 * Let me know 🙂
 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/scripts-and-css-dont-load/#post-16349417)
 * I have not heard back from you so I’ll mark this as resolved for now. Let me 
   know if you still need help!
 *  Thread Starter [Jack All](https://wordpress.org/support/users/jack-all/)
 * (@jack-all)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/scripts-and-css-dont-load/#post-16350256)
 * Thanks Rolf, 
   I completely forgot about this. I’ve just put the folder and files
   from a specific version in the /F/ folder, and it worked. It took me too long
   searching for specific changes in the files or code.Kind regards,Jack
 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/scripts-and-css-dont-load/#post-16350362)
 * So you never found out where that /F/ is coming from? It looks like it has replaced
   the Facnybox version number, which is a “constant” defined in the main plugin
   file easy-fancybox.php
 * Come to think of it, the constant is an array. Only PHP 5.6+ accepts array values
   for constants. Is your PHP version older than 5.6? You can check this by going
   to Tools > Site health and switch to the Info tab. There under the Server section,
   you should be able to find the PHP version number.
 * And if it is older than 5.6, please update PHP (or ask your provider) as soon
   as possible! Preferably to 7.4 or above.
    -  This reply was modified 3 years, 3 months ago by [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/).
 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/scripts-and-css-dont-load/#post-16350374)
 * If it is not possible to upgrade (or change) your PHP version, then you can also
   downgrade the Easy FancyBox plugin to version [1.8.19](https://downloads.wordpress.org/plugin/easy-fancybox.1.8.19.zip)…

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

The topic ‘scripts and css don’t load’ is closed to new replies.

 * ![](https://ps.w.org/easy-fancybox/assets/icon-256x256.png?rev=3188201)
 * [Firelight Lightbox](https://wordpress.org/plugins/easy-fancybox/)
 * [Support Threads](https://wordpress.org/support/plugin/easy-fancybox/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-fancybox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-fancybox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-fancybox/reviews/)

## Tags

 * [mime-type](https://wordpress.org/support/topic-tag/mime-type/)
 * [text html](https://wordpress.org/support/topic-tag/text-html/)

 * 5 replies
 * 2 participants
 * Last reply from: [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/scripts-and-css-dont-load/#post-16350374)
 * Status: resolved