WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: front-end-editor] "a is null" (10 posts)

  1. julianwa
    Member
    Posted 2 years ago #

    Hello i'm using the front-end-editor(Author https://github.com/scribu).

    I'm getting this error since i moved the blog:

    "a is null" in editor.js

    Did anyone get this error too?

  2. scribu
    Member
    Posted 2 years ago #

    Try adding define( 'SCRIPT_DEBUG', true ); to your wp-config.php file and see if you get a more helpful error message.

    Also, does the error appear right after the page has loaded, or do you need to do something first?

  3. julianwa
    Member
    Posted 2 years ago #

    No the error appears when i try to edit the content.

    Now i'm getting:

    Error: response is null
    Source File: /wp-content/plugins/front-end-editor/js/fields/0-basic.js?ver=2.1.3
    Line: 86

  4. julianwa
    Member
    Posted 2 years ago #

    what is front-end-editor trying to do in this part?

  5. scribu
    Member
    Posted 2 years ago #

    It's trying to fetch some data via ajax, but the response is blank.

  6. julianwa
    Member
    Posted 2 years ago #

    is the front-end-editor using current filepath or domain's path?

  7. scribu
    Member
    Posted 2 years ago #

    You can monitor ajax requests (including request URLs and data) using Firebug or Webkit console. Google it.

  8. julianwa
    Member
    Posted 2 years ago #

    :) Did that already and my question is: Is there a problem with 302 redirects?

  9. scribu
    Member
    Posted 2 years ago #

    If the URL that FEE sends ajax requests to (admin-ajax.php) is emitting a redirect, yes, it is a problem.

    Ajax requests can't handle redirects.

  10. julianwa
    Member
    Posted 2 years ago #

    Thanks a lot. i think thats it.

Topic Closed

This topic has been closed to new replies.

About this Topic