Title: [Plugin: Front-end Editor] Javascript error
Last modified: August 19, 2016

---

# [Plugin: Front-end Editor] Javascript error

 *  Resolved [Bill Dennen](https://wordpress.org/support/users/xyzzy/)
 * (@xyzzy)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-front-end-editor-javascript-error-1/)
 * Hi,
 * I recently upgraded to the new version of front-end-editor, the one that uses
   CLEditor.
 * Everything worked fine with the old version — but now I get a Javascript error
   when I double-click on some content I’d like to edit:
 * `TypeError: Result of expression 'ai.controls' [null] is not an object.`
 * I am not sure what the problem is. Any ideas?
 * Thanks!

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

 *  Thread Starter [Bill Dennen](https://wordpress.org/support/users/xyzzy/)
 * (@xyzzy)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-front-end-editor-javascript-error-1/#post-2015633)
 * I should add that the editing box never appears. After double-clicking on the
   content to edit, the content disappears. Using the error console in the browser,
   I see the Javascript error referred to above.
 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-front-end-editor-javascript-error-1/#post-2015800)
 * What browser are you using (name and version)?
 *  Thread Starter [Bill Dennen](https://wordpress.org/support/users/xyzzy/)
 * (@xyzzy)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-front-end-editor-javascript-error-1/#post-2015804)
 * Thanks Scribu. I see that error in Safari/Chrome.
 * On Firefox, the error is slightly different. “options.controls is null”
 * I suspect a conflict with another plugin, but I have not yet been able to pinpoint
   it.
 *  Thread Starter [Bill Dennen](https://wordpress.org/support/users/xyzzy/)
 * (@xyzzy)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-front-end-editor-javascript-error-1/#post-2015829)
 * Chrome 11.0.696.34
    Safari 5.0.4 Firefox 4.0
 * and it’s only a problem for “rich” fields from what I can tell.
 *  [otozyon](https://wordpress.org/support/users/otozyon/)
 * (@otozyon)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-front-end-editor-javascript-error-1/#post-2015909)
 * I am having the same problem with firefox 4.0b13pre and Chrome 10.0.648.133, 
   both on ubuntu.
 *  [otozyon](https://wordpress.org/support/users/otozyon/)
 * (@otozyon)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-front-end-editor-javascript-error-1/#post-2015910)
 * It only concerns version 1.9.3 of the plugin. Version 1.9.2 works fine. And plugin
   interference doesn’t seem to be the problem here, I deactivated all the other
   plugins but it still wouldn’t work.
 *  Thread Starter [Bill Dennen](https://wordpress.org/support/users/xyzzy/)
 * (@xyzzy)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-front-end-editor-javascript-error-1/#post-2015921)
 * Disabling the plugin and re-enabling it has helped on two development installations
   I am running. The Javascript error is gone now.
 *  [jnorion](https://wordpress.org/support/users/jnorion/)
 * (@jnorion)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-front-end-editor-javascript-error-1/#post-2015940)
 * I’m having the same problem. WordPress is v3.1.1, FEE is v1.9.3.
 * I have editing turned on for post title, post content, and comment content only.
   With the WYSIWYG editor turned on, highlighting and tool tips work normally, 
   but when I double-click the post content it disappears and never gives me an 
   editor. Inspecting with firebug shows that the editor is there, and populated
   properly, but has `display: none;` set inline at the element level. I am able
   to edit the post title and comment content as normal.
 * If I turn the WYSIWYG editor off, it appears to work fine in all three places.
 * I have no custom controls set on the WYSIWYG editor.
 * I can replicate this in Firefox 4, Chrome 10.0.*, and Safari 5.04 (all latest
   versions), on OSX 10.6.
 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-front-end-editor-javascript-error-1/#post-2015942)
 * I’ve been able to reproduce the error.
 * Quick fix:
 * 1. Go to WP Admin -> Settings -> Front-end Editor -> Editor Panel box.
    2. Click
   on the “All” link. 3. Click Save Changes.
 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-front-end-editor-javascript-error-1/#post-2015943)
 * So, the problem was that the cleditor controls field was blank.
 * This should no longer be a problem in the [development version](http://downloads.wordpress.org/plugin/front-end-editor.zip)(
   1.9.4-alpha)
 *  Thread Starter [Bill Dennen](https://wordpress.org/support/users/xyzzy/)
 * (@xyzzy)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-front-end-editor-javascript-error-1/#post-2015945)
 * Thanks scribu!
 *  [jnorion](https://wordpress.org/support/users/jnorion/)
 * (@jnorion)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-front-end-editor-javascript-error-1/#post-2015950)
 * Ah, perfect. Added all controls back and it works normally now. Thanks!

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

The topic ‘[Plugin: Front-end Editor] Javascript error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/front-end-editor.svg)
 * [Front-end Editor](https://wordpress.org/plugins/front-end-editor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/front-end-editor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/front-end-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/front-end-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/front-end-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/front-end-editor/reviews/)

 * 12 replies
 * 4 participants
 * Last reply from: [jnorion](https://wordpress.org/support/users/jnorion/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-front-end-editor-javascript-error-1/#post-2015950)
 * Status: resolved