Title: WP OAUTH, internal server error
Last modified: September 1, 2016

---

# WP OAUTH, internal server error

 *  [Goharika](https://wordpress.org/support/users/goharika/)
 * (@goharika)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/wp-oauth-internal-server-error/)
 * Hi WP OAUTH Server team,
 * When I am sending post request mysite/?oauth=token getting internal server error.
   
   And I have remove on client that have before trying to create new one now, but
   can’t getting Unauthorized Access. Why this may happen?
 * Thanks
 * [https://wordpress.org/plugins/oauth2-provider/](https://wordpress.org/plugins/oauth2-provider/)

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

 *  Thread Starter [Goharika](https://wordpress.org/support/users/goharika/)
 * (@goharika)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/wp-oauth-internal-server-error/#post-7497297)
 * The Unauthorized Access error passed, when I have reinstall the plugin.
    But 
   again can’t get access token,
 * So I turned on wp_debug and got this error:
 * PHP Fatal error: Call to a member function get_page_permastruct() on a non-object
   in /var/www/html/wp-includes/link-template.php on line 350
 * Why this may happened?
 * Thanks
 *  Plugin Author [Justin Greer](https://wordpress.org/support/users/justingreerbbi/)
 * (@justingreerbbi)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/wp-oauth-internal-server-error/#post-7497510)
 * I am so sorry [@goharika](https://wordpress.org/support/users/goharika/). For
   some reason, I am not getting notified of posting or replies to this plugin.
 * Were you able to resolve this issue yet or do you still need some assistance?
 * Thanks
    Justin

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

The topic ‘WP OAUTH, internal server error’ is closed to new replies.

 * ![](https://ps.w.org/oauth2-provider/assets/icon-256x256.gif?rev=2603051)
 * [WP OAuth Server (OAuth Authentication)](https://wordpress.org/plugins/oauth2-provider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/oauth2-provider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/oauth2-provider/)
 * [Active Topics](https://wordpress.org/support/plugin/oauth2-provider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/oauth2-provider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/oauth2-provider/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Justin Greer](https://wordpress.org/support/users/justingreerbbi/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/wp-oauth-internal-server-error/#post-7497510)
 * Status: not resolved