• Resolved firewalker

    (@firewalker)


    Found Javascript Error when accessing wp-login.php: “ReferenceError: Can’t find variable: isUserLoggedIn”

    Resolved by adding:
    add_action( 'login_head', array( 'P2JS', 'print_options' ) );
    After this line:
    add_action( 'wp_head', array( 'P2JS', 'print_options' ) );

Viewing 1 replies (of 1 total)
  • I am having an issue with the P2 theme. I can’t post anything. I am logged in to WordPress. Every time I try to I get an error telling me that I need to login again, and it redirects me to the login page for WordPress.

    Anyway, I found this post by searching for a js error I got in FireBug when I was trouble shooting the issue. i thought maybe you would have some insight as to why this is happening. I tried adding add_action( 'login_head', array( 'P2JS', 'print_options' ) ); to my p2 theme’s js file, but it didn’t work.

    The link to the post where I have been documenting all of my troubleshooting steps is:
    Here

    Thank you

Viewing 1 replies (of 1 total)
  • The topic ‘Javascript Error on Login Page’ is closed to new replies.