Title: PHP error due to deprecated function in WP 4.5
Last modified: September 1, 2016

---

# PHP error due to deprecated function in WP 4.5

 *  [Brian Shim](https://wordpress.org/support/users/brianrshim/)
 * (@brianrshim)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/php-error-due-to-deprecated-function-in-wp-45/)
 * I get the following error message with debug mode on with WP 4.5.3:
    ( ! ) Notice:
   get_currentuserinfo is **deprecated** since version 4.5! Use wp_get_current_user()
   instead. in /Users/brianshim/Dropbox/ServerPressMac/ioes2.dev/wp-includes/functions.
   php on line 3658
 * This function is in line 124 of user-access-manager.php.
 * If I replace the function with wp_get_current_user() as suggested, the error 
   goes away. Please push this fix into the main build.
 * Brian
 * [https://wordpress.org/plugins/user-access-manager/](https://wordpress.org/plugins/user-access-manager/)

The topic ‘PHP error due to deprecated function in WP 4.5’ is closed to new replies.

 * ![](https://ps.w.org/user-access-manager/assets/icon.svg?rev=1563783)
 * [User Access Manager](https://wordpress.org/plugins/user-access-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-access-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-access-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/user-access-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-access-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-access-manager/reviews/)

## Tags

 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 0 replies
 * 1 participant
 * Last reply from: [Brian Shim](https://wordpress.org/support/users/brianrshim/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/php-error-due-to-deprecated-function-in-wp-45/)
 * Status: not resolved