WordPress.org

Support

Support » Themes and Templates » Javascript error in p2.js

Javascript error in p2.js

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Kathryn

    @zoonini

    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.

    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.

    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).

    Moderator Kathryn

    @zoonini

    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.

    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’

    Moderator Kathryn

    @zoonini

    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. 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Javascript error in p2.js’ is closed to new replies.