WordPress.org

Ready to get started?Download WordPress

Forums

P2
Javascript error in p2.js (7 posts)

  1. violacase
    Member
    Posted 5 months ago #

    line 1316: Uncaught ReferenceError: inlineEditPosts is not defined

  2. Hi there, could you please let me know:

    1) what action were you taking when this error was displayed?

    2) could you provide a link to the specific page or post where you saw this in your console?

    Thanks.

  3. violacase
    Member
    Posted 5 months ago #

    Hi there, the error shows up directly after activating and running the theme. Also another javascript error is found: line 12 in (index) Uncaught SyntaxError: Unexpected token ILLEGAL. The (beginning of the) code I found there is:

    // P2 Configuration
    var ajaxUrl = "

    It was ran on a local (Windows8) PC with EasyPhp wamp.

    I can't reproduce these errors on a public Centos test site to show you because all seems ok there. Funny.

  4. violacase
    Member
    Posted 5 months ago #

    Follow up:

    To test in clean environment I did a fresh WordPress and P2 install with just the debug plugins 'Console' and 'Debug Bar' activated and 'DEBUG' set true in wp-config.php.

    Same error messages (in Chrome).

  5. Thanks for the details. I verified my own local install with MAMP and I'm not seeing any JavaScript errors on my end.

    Since you're not seeing this on a live server I'm not sure if I can be of further help here, but let me know if there's anything I can do.

  6. violacase
    Member
    Posted 5 months ago #

    It's ok with me, Kathryn.

    For your information: I don't and didn't need any help. I posted this because it could perhaps have some value for YOU.
    'Let me know if there's anything else I can do'

  7. Sure, no problem. Glad you're all set. When folks post errors here it's usually because they are asking for help in diagnosing them. :-)

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.