• 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/

Viewing 1 replies (of 1 total)
  • Ashok

    (@bappidgreat)

    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.