⚡ Rocket.net – Managed WordPress Hosting

MiltonMarketing.com  Powered by Rocket.net – Managed WordPress Hosting

Bernard Aybouts - Blog - MiltonMarketing.com

Approx. read time: 5.2 min.

Post: Fix Failed to load plugin: code from url /wp-content/plugins/tinymce-advanced/mce/code/plugin.min.js

The error message “Failed to load plugin: code from url /wp-content/plugins/tinymce-advanced/mce/code/plugin.min.js” suggests that the TinyMCE Advanced plugin is trying to load a JavaScript file (plugin.min.js for the ‘code’ plugin) from your WordPress site, but it’s encountering an issue. This can happen due to a variety of reasons, including incorrect file permissions, the file being missing, plugin conflicts, or caching issues. Here’s how you can approach fixing this issue:

1. Check Plugin Installation

First, ensure that the TinyMCE Advanced plugin is installed and updated to the latest version. Sometimes, simply reinstalling the plugin can resolve such issues.

2. Verify File Existence and Permissions

  • Check if the file exists: Go to the /wp-content/plugins/tinymce-advanced/mce/code/ directory in your WordPress installation via FTP or File Manager in your hosting control panel and check if the plugin.min.js file exists.
  • Correct file permissions: Files should generally have the permission set to 644 and directories to 755. If the permissions are incorrect, you can change them using an FTP client or through the File Manager.

3. Clear Cache

  • Browser cache: Clear your browser cache to ensure that your browser is not loading an outdated version of the file.
  • WordPress cache: If you’re using a caching plugin on your WordPress site, clear your site’s cache. Some hosting providers also have their own caching mechanisms which you might need to clear.

4. Plugin Conflict Test

There might be a conflict with another plugin. To test this:

  • Deactivate all other plugins except for TinyMCE Advanced.
  • Check if the issue persists. If it’s resolved, reactivate your plugins one by one, checking each time to identify the conflicting plugin.

5. Check for Theme Conflicts

Sometimes, themes can also cause conflicts. To check if your theme is the problem:

  • Switch to a default WordPress theme (like Twenty Twenty-One) temporarily.
  • If the problem goes away, the issue might be with your theme. Contact the theme developer for support.

6. Check .htaccess for Redirects or Security Rules

An improperly configured .htaccess file can also cause issues with accessing plugin files:

  • Backup your .htaccess file.
  • Temporarily replace it with the default WordPress .htaccess rules and check if the issue is resolved.

7. Debugging and Logs

  • Enable debugging in WordPress by setting WP_DEBUG to true in your wp-config.php file. Check the debug.log file for any relevant error messages.
  • Check your server’s error logs for any clues that might point to what’s preventing the file from loading.

8. Contact Hosting Support

If you’re unable to resolve the issue, there might be a server-level issue or a specific configuration on your hosting environment causing the problem. Contact your hosting provider’s support for assistance.

These steps should help you diagnose and fix the issue with the TinyMCE Advanced plugin failing to load a JavaScript file. If the problem persists, consider reaching out to the plugin’s support forum or a professional WordPress developer for further assistance.


How to fix Failed to load plugin: code from url /wp-content/plugins/tinymce-advanced/mce/code/plugin.min.js

Your in the back end of your WordPress website. Suddenly you notice an error message with your TinyMCE Advanced editor, it reads:

Failed to load plugin: code from url /wp-content/plugins/tinymce-advanced/mce/print/plugin.min.js

Dont panic fixing the Failed to load plugin: code from url /wp-content/plugins/tinymce-advanced/mce/code/plugin.min.js is rather an easy fix.

These errors are usually caused by the file in question, in this particular case:

(Failed to load plugin: code from url /wp-content/plugins/tinymce-advanced/mce/code/plugin.min.js) is being blocked by some security setting on the server, or (rarely) by having wrong permissions. Lets fix it.


How to fix Failed to load plugin: code from url /wp-content/plugins/tinymce-advanced/mce/code/plugin.min.js

The first step to debug this is to try to access the file directly in the browser (i.e. copy the URL and paste in the browser and press Enter). See example image below:

(https://www.your-domain-name.com/wp-content/plugins/tinymce-advanced/mce/print/plugin.min.js)

How to fix Failed to load plugin: code from url /wp-content/plugins/tinymce-advanced/mce/code/plugin.min.js

If you see the file contents (that’s usually minified JS, so it is all on one line or so) chances are it was some sort of caching issue that is now resolved. Delete your browser cache and try using the editor again. Here are a few links to help you delete your browser cache:

How to delete my browser cache in Google Chrome (Video)
How to delete my browser cache in FireFox (Video)
How to delete my browser cache in Safari (Video)
How to delete my browser cache in Microsoft Edge (Video)

If you see an HTTP error (like 403 or 500) best would be to contact your web hosting company for help. In some cases deleting and re-installing the plugin may help.


Still having trouble ?
Need technical support? Contact Us.

About the Author: Bernard Aybout (Virii8)

Avatar of Bernard Aybout (Virii8)
I am a dedicated technology enthusiast with over 45 years of life experience, passionate about computers, AI, emerging technologies, and their real-world impact. As the founder of my personal blog, MiltonMarketing.com, I explore how AI, health tech, engineering, finance, and other advanced fields leverage innovation—not as a replacement for human expertise, but as a tool to enhance it. My focus is on bridging the gap between cutting-edge technology and practical applications, ensuring ethical, responsible, and transformative use across industries. MiltonMarketing.com is more than just a tech blog—it's a growing platform for expert insights. We welcome qualified writers and industry professionals from IT, AI, healthcare, engineering, HVAC, automotive, finance, and beyond to contribute their knowledge. If you have expertise to share in how AI and technology shape industries while complementing human skills, join us in driving meaningful conversations about the future of innovation. 🚀