Support » Plugins and Hacks » Front-end Editor » [Plugin: Front-end Editor] Javascript error

[Plugin: Front-end Editor] Javascript error

  • Hi,
    I’m having a problem. The editor is not showing, it only highlights my text but the editor does not show up. I think it is because a javascript error. In firebug it throws this error: “Uncaught TypeError: undefined is not a function
    (anonymous function)editor.js:1

    Can someone pls help me.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author scribu


    What browser are you using?

    Add the following line to your wp-config.php file to get a better stack trace:

    define( 'SCRIPT_DEBUG', true );

    Also, eachjquery.min.js isn’t a Front-end Editor file, so look in the source to see where it’s coming from.

    I’m getting this error:
    “fieldTypes[type] is not a constructor
    new fieldTypes[type]($el, type, filter, data);
    in editor.js line 839 ”

    I can edit the title of the posts but I can’t edit the content.

    Plugin Author scribu


    Try upgrading to the new version (1.9.3).

    After updating to 1.9.3 is acting the same but I get this error now:

    FrontEndEditor.fieldTypes[data.type] is not a constructor
    [Break On This Error] editor = new FrontEndEditor.fieldTypes[data.type]();
    on core.dev.js?ver=1.9.3 (line 154)

    Plugin Author scribu


    Are you using editable_post_meta() in your theme? If so, please paste the PHP code.

    If not, please paste the entire HTML source of the page on http://pastebin.com and add a link here.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Front-end Editor] Javascript error’ is closed to new replies.
Skip to toolbar