Hallo zusammen,
ich verwende gerne das Plugin "Expandable/Collapsible Menu" (Netgo) zur Navigation in einem CMS mit Seiten. Im Debug-Modus kommt diese Fehlermeldung, welche ich nicht wegbekomme:
ZitatDeprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Netgo_Navigation has a deprecated constructor in ...\netgo-expandable-collapsible-menu.php on line 32
Notice: Die verwendete Konstruktor-Methode für WP_Widget in Netgo_Navigation ist seit Version 4.3.0 veraltet! Verwende stattdessen __construct()
Code-Auszug:
Code
class Netgo_Navigation extends WP_Widget {
var $arr_types = array(
"wp_list_pages" => array("function" => "wp_list_pages", "name" => "List all pages" ),
//"wp_list_categories" => array("function" => "wp_list_categories", "name" => "List all categories"),
);
function Netgo_Navigation() {
parent::WP_Widget('netgo_navigation', 'Netgo Expandable/Collapsible Menu', array('description' => 'Outputs pages/categories with expandable/collapsible effect.', 'class' => 'netgo-navigation-class'));
}
Alles anzeigen
Nach längerer Suche im Netz und hier im Forum habe ich bisher keine Lösung gefunden.
Hat vielleicht jemand von euch den richtigen Tipp?
Vielen Dank.