Title: Error when not authenticated
Last modified: August 22, 2016

---

# Error when not authenticated

 *  Resolved [Nicolaie](https://wordpress.org/support/users/szabadkai/)
 * (@szabadkai)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-when-not-authenticated/)
 * Hi,
 * wpoa works great except ocassionaly an error like following appears:
 * `Notice: Undefined index: redirect_to in /x/y/z/wp-content/plugins/wp-oauth/wp-
   oauth.php on line 690`
 * This happens and bothers when Google WebMaster Tools is visiting my site. So 
   I guess everyone is getting it.
    Could you help?
 * Thanks
    Nicolaie
 * [https://wordpress.org/plugins/wp-oauth/](https://wordpress.org/plugins/wp-oauth/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [Nicolaie](https://wordpress.org/support/users/szabadkai/)
 * (@szabadkai)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-when-not-authenticated/#post-5901148)
 * Sorry,
 * i solved the problem.
    Or put it the right way: I created the problem myself.
   Had set WP_DEBUG.
 * Cheers
    Nicolaie
 *  Plugin Author [hectavex](https://wordpress.org/support/users/hectavex/)
 * (@hectavex)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/error-when-not-authenticated/#post-5901446)
 * Thanks, closing this.
 *  [vee](https://wordpress.org/support/users/okvee/)
 * (@okvee)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/error-when-not-authenticated/#post-5901478)
 * I have this problem too when go to login page.
 * Please not close this but fix it using `if` and `isset`. It is better not ignore
   these notice.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error when not authenticated’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-oauth_eeeeee.svg)
 * [WP-OAuth](https://wordpress.org/plugins/wp-oauth/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-oauth/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-oauth/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-oauth/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-oauth/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-oauth/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [vee](https://wordpress.org/support/users/okvee/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/error-when-not-authenticated/#post-5901478)
 * Status: resolved