Title: Javascript error causing editor to fail to load.
Last modified: August 24, 2022

---

# Javascript error causing editor to fail to load.

 *  [clickharder](https://wordpress.org/support/users/clickharder/)
 * (@clickharder)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-causing-editor-to-fail-to-load/)
 * I’m getting the following error in the console when I try to edit pages with 
   Elementor. I made sure all plugins and theme were updated and then disabled all
   plugins except for elementor. The problem persisted. When I tried loading in 
   safe mode, the editor loaded, but obviously that doesn’t solve the problem, just
   helps diagnose it.
 * Here is the error.
 *     ```
       editor.min.js:3 Uncaught TypeError: T.setRegisterConfig is not a function
           at Component.registerCommand (editor.min.js:3:984004)
           at editor.min.js:3:981009
           at Array.forEach (<anonymous>)
           at Component.registerAPI (editor.min.js:3:980940)
           at _default.register (web-cli.min.js:2:62582)
           at Editor.initComponents (editor.min.js:3:524007)
           at Editor.onStart (editor.min.js:3:538297)
           at Editor.onStart (editor.min.js:3:1064146)
           at Object._triggerMethod (backbone.marionette.min.js:24:7999)
           at f.triggerMethod (backbone.marionette.min.js:24:8166)
       ```
   
 *     ```
       registerCommand	@	editor.min.js:3
       (anonymous)	@	editor.min.js:3
       registerAPI	@	editor.min.js:3
       register	@	web-cli.min.js:2
       initComponents	@	editor.min.js:3
       onStart	@	editor.min.js:3
       onStart	@	editor.min.js:3
       (anonymous)	@	backbone.marionette.min.js:24
       f.triggerMethod	@	backbone.marionette.min.js:24
       start	@	backbone.marionette.min.js:25
       (anonymous)	@	editor.min.js:3
       (anonymous)	@	editor.min.js:3
       (anonymous)	@	editor.min.js:3
       ```
   
 * The files in question are all located in the Elementor plugin folder.
 * This may be related to this bug report:
    [https://github.com/elementor/elementor/issues/19516](https://github.com/elementor/elementor/issues/19516)
 * It does prevent the editor from loading so it is a bit of a critical bug.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-error-causing-editor-to-fail-to-load%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [3 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-causing-editor-to-fail-to-load/#post-15945456)
 * Looking at your site, you are an Elementor Pro user. The developer can’t have
   a conversation with customers here. That’s not permitted for anyone.
 * For pro or commercial product support please contact the developer directly on
   their site. This includes any pre-sales topics as well.
 * [https://my.elementor.com/](https://my.elementor.com/)
 * As the developer is aware, commercial products are [not supported in these forums](https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products).
   I am sure they will have no problem supporting you there.

Viewing 1 replies (of 1 total)

The topic ‘Javascript error causing editor to fail to load.’ is closed to new replies.

 * ![](https://ps.w.org/elementor/assets/icon-256x256.gif?rev=3444228)
 * [Elementor Website Builder - more than just a page builder](https://wordpress.org/plugins/elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/elementor/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-causing-editor-to-fail-to-load/#post-15945456)
 * Status: not resolved