Support » Plugin: Collapsing Categories » Deprecated Notices

Viewing 3 replies - 1 through 3 (of 3 total)
  • More ERROR notices.
    Using PHP Version 5.6.8; WP 4.4; Collapsing Categories Version 2.0.7.

    Non-static method collapsCat::set_styles() should not be called statically in MYSITE\wp-content\plugins\collapsing-categories\collapscat.php on line 89

    PHP Strict Standards: Non-static method collapsCat::phpArrayToJS() should not be called statically in MYSITE\wp-content\plugins\collapsing-categories\collapscat.php on line 145

    PHP Notice: Undefined variable: includes in MYSITE\wp-content\plugins\collapsing-categories\collapscatlist.php on line 45

    One more deprecated notice.

    PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in MYSITE\wp-includes\functions.php on line 3619

    Easy fix: in \wp-content\plugins\collapsing-categories\collapscatwidget.php replace:
    $this->WP_Widget('collapscat', 'Collapsing Categories', $widget_ops,$control_ops);
    with
    parent::__construct('collapscat', 'Collapsing Categories', $widget_ops);

    Any updates? Shame since it looks so nice and worked well.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Deprecated Notices’ is closed to new replies.