• I am getting Deprecated : contextual_help has been deprecated since version 3.3.0. error.

    What is the solution ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • if you look at the codex it says to

    Use get_current_screen()->add_help_tab() or get_current_screen()->remove_help_tab() instead.

    .

    here an article on using the get_current_screen. You could try to contact the developer of the theme or plugin. But, they may not support it any longer since this function be depreciated for awhile.

    Thread Starter abufoysal

    (@abufoysal)

    Thanks @mrtom414. But what is the solution ? Thanks.

    You would have to find and rewrite the code that is Deprecated. When something is Deprecated it is completely removed from the language. In this case it a wordpress functions that is no longer being used. If there are no updates for the plugin or theme you are using you have a couple of choices. One use something else or two create a child theme and rewrite the code. Your post doesn’t make it clear where you are getting the error. So it not possible to give detailed information on fixing the problem.

    • This reply was modified 4 years, 7 months ago by mrtom414.
    Thread Starter abufoysal

    (@abufoysal)

    Thanks @mrtom414 .

    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

    View post on imgur.com

    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
        			);
        		}
        	}
        }

    https://i.stack.imgur.com/VVL2C.png

    • This reply was modified 4 years, 7 months ago by abufoysal.
    • This reply was modified 4 years, 7 months ago by abufoysal.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Deprecated’ is closed to new replies.