I am getting below error in Admin Panel.

Deprecated : contextual_help has been deprecated since version 3.3.0. Use get_current_screen () -> add_help_tab (), get_current_screen () -> remove_help_tab () instead. in /var/www/html/invertir/wp-includes/functions.php on line 5088

enter image description here

I got below code in /var/www/html/invertir/wp-includes/functions.php on line 5088

if ( WP_DEBUG && apply_filters( 'deprecated_hook_trigger_error', true ) ) {
        $message = empty( $message ) ? '' : ' ' . $message;

        if ( ! is_null( $replacement ) ) {
            trigger_error(
                sprintf(
                    /* translators: 1: WordPress hook name, 2: Version number, 3: Alternative hook name. */
                    __( '%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.' ),
                    $hook,
                    $version,
                    $replacement
                ) . $message,
                E_USER_DEPRECATED
            );
        } else {
            trigger_error(
                sprintf(
                    /* translators: 1: WordPress hook name, 2: Version number. */
                    __( '%1$s is <strong>deprecated</strong> since version %2$s with no alternative available.' ),
                    $hook,
                    $version
                ) . $message,
                E_USER_DEPRECATED
            );
        }
    }
}

enter image description here

How can I solve the issue ?

2 Answers
2

I see that you have a lot of updates, first, update everything, then you update the plugins, themes, then if that does not work then disable all your plugins and themes and see if that fixes the issue. If it does then you enable one plugin at a time until you have all your plugins enabled, if it appears again then you know that it is a plugin and you can remove your plugins, if it does not appear then you enable all your themes one at a time and do the same thing the plugins.

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *