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 theplugin.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
totrue
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)
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.
How to Fix WordPress Plugin Installation Failed
Related Videos:
Related Posts:
How to Fix ERR_TOO_MANY_REDIRECTS on Your WordPress Site
TinyMCE – Highlights of a Fantastic Web Editor – CloudAccess.net Webinar(Opens in a new browser tab)
How to delete yourself from the internet
SAVING YOUR TO-DO LIST ITEMS to localStorage(Opens in a new browser tab)
SAVING YOUR TO-DO LIST ITEMS to localStorage
Reasons why website visitors stop reading before the end of your page
Protect Your Site from Malicious Requests
Google is about to have a lot more ads on phones
WP Cost Estimation and Payment Forms Builder has been Exploited
The dark web represents only a fraction of the rest of the internet
Russia ‘successfully tests’ its unplugged internet
B0r0nt0K Ransomware Wants $75,000 Ransom, Infects Linux Servers
What’s behind this 1,000-character phishing URL?
Ontario based – Magna Adds to its All-New Electric Vehicle from INEOS Automotive
Magna’s new MAX4 self-driving platform offers autonomy up to Level 4
Automotive company Magna invests $5 million in AI systems