Title: generate &quot;notice&quot;
Last modified: September 1, 2016

---

# generate "notice"

 *  [gersveo](https://wordpress.org/support/users/gersveo/)
 * (@gersveo)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/generate-notice/)
 * Notice: get_currentuserinfo() is obsolete in versión 4.5…
    change to wp_get_current_user()
 * Notice: get_currentuserinfo ha quedado obsoleto desde la versión 4.5. Utiliza
   wp_get_current_user() en su lugar. in /var/www/html/blogs_elespectador/wp-includes/
   functions.php on line 3658
 * [https://wordpress.org/plugins/w3-total-cache/](https://wordpress.org/plugins/w3-total-cache/)

Viewing 1 replies (of 1 total)

 *  [Ashok](https://wordpress.org/support/users/bappidgreat/)
 * (@bappidgreat)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/generate-notice/#post-7651829)
 * Hi gersveo
 * Please go to /w3-total-cache/lib/W3/AdminActions/SupportActionsAdmin.php line
   no 655 and replace
 *     ```
       get_currentuserinfo();
       ```
   
 * with
 *     ```
       $current_user = wp_get_current_user();
       ```
   
 * Then go to /w3-total-cache/lib/W3/PgCacheAdminEnvironment.php line no 562 and
   replace
 *     ```
       $current_user = get_currentuserinfo();
       ```
   
 * with
 *     ```
       $current_user = wp_get_current_user();
       ```
   
 * Let me know if the notice goes away.
 * Have an awesome day!
 * Cheers
    Ash

Viewing 1 replies (of 1 total)

The topic ‘generate "notice"’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ashok](https://wordpress.org/support/users/bappidgreat/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/generate-notice/#post-7651829)
 * Status: not resolved