Deprecated : contextual_help has been deprecated since version 3.3.0

Question

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 ?

0
Foysal 4 months 0 Answers 36 views 0

Leave an answer