Title: &#8220;Failed to initialize plugin: tiny_mce_button&#8221;
Last modified: September 18, 2020

---

# “Failed to initialize plugin: tiny_mce_button”

 *  Resolved [Kip Kniskern](https://wordpress.org/support/users/kip-kniskern/)
 * (@kip-kniskern)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/failed-to-initialize-plugin-tiny_mce_button/)
 * I updated to Slide Anything 2.3.22 today, and am now receiving a pair of error
   messages in our (classic WordPress) post editor: “Failed to initialize plugin:
   tiny_mce_button.”
    I ran a quick browser inspect on the code, and it shows this:
   wp-tinymce.js?ver=49100-20200624:3 Failed to initialize plugin: tinymce_button
   ReferenceError: sa_title_arr is not defined at new <anonymous> (add_tinymce_button.
   js?wp-mce-49100-20200624:10) at Ew (wp-tinymce.js?ver=49100-20200624:3) at Array.
   <anonymous> (wp-tinymce.js?ver=49100-20200624:3) at Object.jt [as each] (wp-tinymce.
   js?ver=49100-20200624:3) at Aw (wp-tinymce.js?ver=49100-20200624:3) at tN.<anonymous
   > (wp-tinymce.js?ver=49100-20200624:3) at Array.<anonymous> (wp-tinymce.js?ver
   =49100-20200624:3) at jt (wp-tinymce.js?ver=49100-20200624:3) at u (wp-tinymce.
   js?ver=49100-20200624:3) at n (wp-tinymce.js?ver=49100-20200624:3) wh @ wp-tinymce.
   js?ver=49100-20200624:3 2wp-tinymce.js?ver=49100-20200624:3 Failed to initialize
   plugin: tinymce_button ReferenceError: sa_title_arr is not defined at new <anonymous
   > (add_tinymce_button.js?wp-mce-49100-20200624:10) at Ew (wp-tinymce.js?ver=49100-
   20200624:3) at Array.<anonymous> (wp-tinymce.js?ver=49100-20200624:3) at Object.
   jt [as each] (wp-tinymce.js?ver=49100-20200624:3) at Aw (wp-tinymce.js?ver=49100-
   20200624:3) at tN.<anonymous> (wp-tinymce.js?ver=49100-20200624:3) at Array.<
   anonymous> (wp-tinymce.js?ver=49100-20200624:3) at jt (wp-tinymce.js?ver=49100-
   20200624:3) at u (wp-tinymce.js?ver=49100-20200624:3) at Ri.loadScripts (wp-tinymce.
   js?ver=49100-20200624:3)
 * Is a fix incoming?

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

 *  [jspecht4](https://wordpress.org/support/users/jspecht4/)
 * (@jspecht4)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/failed-to-initialize-plugin-tiny_mce_button/#post-13494444)
 * Am also receiving this error. Any Fix?
 *  Plugin Author [simonpedge](https://wordpress.org/support/users/simonpedge/)
 * (@simonpedge)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/failed-to-initialize-plugin-tiny_mce_button/#post-13531497)
 * There were a few JS errors with WP version 5.5 apparently, which have been fixed
   in 5.5.1. So try updating to the latest version of WordPress to see if this resolves
   the issue?
 *  [djbullock](https://wordpress.org/support/users/djbullock/)
 * (@djbullock)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/failed-to-initialize-plugin-tiny_mce_button/#post-13535570)
 * I also am getting this error message although my mine reads “Failed to initialize
   plugin: tinymce_button” versus the “tiny_mce_button” shown above and I am updated
   to WP version 5.5.1.
 * In my plugins, it was noted that my Advanced Editor Tools plugin was previously
   called TinyMCE Advanced so for grins I tried deactivating/deleting/reinstalling
   that one to see if it got rid of the error message.
 * It didn’t.
 *  Plugin Author [simonpedge](https://wordpress.org/support/users/simonpedge/)
 * (@simonpedge)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/failed-to-initialize-plugin-tiny_mce_button/#post-13536464)
 * Ok, to identify if another plugin is causing a clash with Slide Anything on your
   site, you need to:
    – (temporarily) Deactivate all plugins, except Slide Anything,
   and then test to see if this error has been resolved – if this ‘tiny_mce_button’
   error disappears then its a plugin conflict, and then you need to activate plugins
   one-by-one (testing in-between each activation) until we can identify the plugin
   which is clashing with Slide Anything. Once we know this plugin, we can take 
   it from there.
 *  Thread Starter [Kip Kniskern](https://wordpress.org/support/users/kip-kniskern/)
 * (@kip-kniskern)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/failed-to-initialize-plugin-tiny_mce_button/#post-13575953)
 * While I’m unable to deactivate all my plugins on our live site, as it would break
   the site for our readers, I was able to back up the site and restore it to a 
   local instance of WordPress (using Desktop Server).
    After a bit of setup, I 
   got the site running, and in opening a new post, received the same error: “Failed
   to initialize plugin: tinymce_button” I then deactivated all plugins except Slide
   Anything (We use Slide Anything Pro, but I still get the error with it deactivated).
   The error does not appear in the Gutenberg Editor, however we use the Classic
   Editor plugin from WordPress ([https://github.com/WordPress/classic-editor/](https://github.com/WordPress/classic-editor/)).
   I activated that, and the error then appeared. Again, this is a copy of our live
   site on a local server, running WordPress 5.5.1, with only the Classic Editor
   and Slide Anything plugins activated. On our live site, we have reverted to Slide
   Anything version 2.3.21, where the error does not occur. All subsequent plugin
   revisions up to and including 2.3.26 do throw the error however. Hope this helps.
 *  Thread Starter [Kip Kniskern](https://wordpress.org/support/users/kip-kniskern/)
 * (@kip-kniskern)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/failed-to-initialize-plugin-tiny_mce_button/#post-13577906)
 * Pinging [@simonpedge](https://wordpress.org/support/users/simonpedge/) just in
   case this missed you ^^
 *  Plugin Author [simonpedge](https://wordpress.org/support/users/simonpedge/)
 * (@simonpedge)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/failed-to-initialize-plugin-tiny_mce_button/#post-13578014)
 * Hmmm, a bit tough because I cannot replicate the error my side…
 * BUT, I think it has to do with the TinyMCE button added to the classic editor
   that allows you to insert Slide Anything shortcodes into your post or page content–
   see:
    [https://i.imgur.com/KQAfOq5.png](https://i.imgur.com/KQAfOq5.png)
 * To test this out for me, could you please upload the latest version of SA, and
   then edit the following file:
    **/wp-content/plugins/slide-anything/slide-anything.
   php** And then comment out lines 30 and 31, so these 2 lines will now look like:
 *     ```
       // add_action('admin_head', 'add_tinymce_button');
       // add_action('admin_footer', 'get_tinymce_shortcode_array', 9999999);
       ```
   
 * If this resolves you problem, then what I thing I need to do is add a plugin 
   setting which allows users to switch off this TinyMCE button functionality.
 *  Plugin Author [simonpedge](https://wordpress.org/support/users/simonpedge/)
 * (@simonpedge)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/failed-to-initialize-plugin-tiny_mce_button/#post-13579529)
 * [@kip-kniskern](https://wordpress.org/support/users/kip-kniskern/) – ok try upgrading
   to the version of Slide Anything I’ve just released – Version 2.3.27.
 * And if you go to ‘Settings -> Writing’ within the WordPress Dashboard, you will
   see a new setting (checkbox) at the bottom of the page called ‘Disable TinyMCE
   Button’. Check this checkbox to see if this resolves your issue. Please let me
   know if it does.
 *  [flipo44](https://wordpress.org/support/users/flipo44/)
 * (@flipo44)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/failed-to-initialize-plugin-tiny_mce_button/#post-13581485)
 * hi Simon, I had the same issue and followed your recommendation.
 * However considering that the button is now disabled, i’m not sure I understand
   how to add new sliders ?
 *  Thread Starter [Kip Kniskern](https://wordpress.org/support/users/kip-kniskern/)
 * (@kip-kniskern)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/failed-to-initialize-plugin-tiny_mce_button/#post-13581678)
 * Thanks [@simonpedge](https://wordpress.org/support/users/simonpedge/) – yes I
   installed 2.3.27, the error message is still there initially, but disabling the
   TinyMCE button in Settings>Writing does the trick, and the error messages no 
   longer appear. Thanks!
    As for [@flipo44](https://wordpress.org/support/users/flipo44/)‘
   s question above, I believe we’ll now have to insert the shortcodes manually 
   using the text (not visual) editor, correct?
 *  Plugin Author [simonpedge](https://wordpress.org/support/users/simonpedge/)
 * (@simonpedge)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/failed-to-initialize-plugin-tiny_mce_button/#post-13581783)
 * Yes, you copy the shortcode using the “Copy to Clipboard” button near the top-
   right of your SA Settings page – see:
    [https://i.imgur.com/aoIefzM.png](https://i.imgur.com/aoIefzM.png)
   You then paste this shortcode into a wordpress page/post editor (or a page-builder
   text module) – it should work in both the visual editor or text editor modes.
 * A few people have reported issues as a result if this TinyMCE button – I think
   this is because of core changes WP is making with its editor and the introduction
   of Guttenberg editor. At some point I’ll have to do a deep-dive into this, but
   this is a workaround for now. [@kip-kniskern](https://wordpress.org/support/users/kip-kniskern/)
   I’m glad its working again on your site 🙂
 *  Plugin Author [simonpedge](https://wordpress.org/support/users/simonpedge/)
 * (@simonpedge)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/failed-to-initialize-plugin-tiny_mce_button/#post-13584463)
 * I am marking this topic as closed.

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

The topic ‘“Failed to initialize plugin: tiny_mce_button”’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/slide-anything.svg)
 * [Slide Anything - Responsive Content / HTML Slider and Carousel](https://wordpress.org/plugins/slide-anything/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/slide-anything/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/slide-anything/)
 * [Active Topics](https://wordpress.org/support/plugin/slide-anything/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slide-anything/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slide-anything/reviews/)

## Tags

 * [tiny_mce](https://wordpress.org/support/topic-tag/tiny_mce/)

 * 12 replies
 * 5 participants
 * Last reply from: [simonpedge](https://wordpress.org/support/users/simonpedge/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/failed-to-initialize-plugin-tiny_mce_button/#post-13584463)
 * Status: resolved