• Resolved arhit

    (@arhit)


    I get this notice in Dashboard:

    NOTICE: wp-includes/functions.php:3893 – The called constructor method for Debug_Bar_Panel::Debug_Bar_Panel in Debug_Bar_Panel is deprecated since version 0.8.3! Use __construct() instead.
    require_once(‘wp-admin/admin.php’), do_action(‘admin_init’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, _wp_admin_bar_init, WP_Admin_Bar->initialize, do_action(‘admin_bar_init’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, Debug_Bar->init, Debug_Bar->init_panels, apply_filters(‘debug_bar_panels’), WP_Hook->apply_filters, call_user_func_array, PucDebugBarPlugin_3_0->addDebugBarPanel, PluginUpdateCheckerPanel_3_0->__construct, Debug_Bar_Panel->Debug_Bar_Panel, _deprecated_constructor, trigger_error

    The plugins I use on the site:
    Contact Form 7
    Google Analytics for WordPress
    Page Builder by SiteOrigin
    SiteOrigin Widgets Bundle
    Slider Revolution
    WordPress Importer
    Widget Importer & Exporter

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter arhit

    (@arhit)

    Plugin Author Konstantin Obenland

    (@obenland)

    It’s possible that an outdated version of that plugin could be causing that notice. In the end of the day it’s nothing you’d need to worry about, the notice is only there to encourage developers to use a more modern way of interacting with Debug Bar and has no effect on its functionality.

    If you see this notice in a production environment (live your live site), I’d encourage you to disable WP_DEBUG in your wp-config.php file.

    Thread Starter arhit

    (@arhit)

    Yes, as soon as I found the source of the issue and updated the plugin-update-checker, the notice was gone. I just forgot to close this issue. ??

    Hi
    Just installed Debug Bar and also have:

    The called constructor method for Debug_Bar_Panel::Debug_Bar_Panel in Debug_Bar_Panel is deprecated since version 0.8.3! Use __construct() instead.
    require_once('wp-admin/admin.php'), do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, _wp_admin_bar_init, WP_Admin_Bar->initialize, do_action('admin_bar_init'), WP_Hook->do_action, WP_Hook->apply_filters, Debug_Bar->init, Debug_Bar->init_panels, apply_filters('debug_bar_panels'), WP_Hook->apply_filters, PucDebugBarPlugin_3_1->addDebugBarPanel, PluginUpdateCheckerPanel_3_1->__construct, Debug_Bar_Panel->Debug_Bar_Panel, _deprecated_constructor, trigger_error
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Notice’ is closed to new replies.