Viewing 3 replies - 1 through 3 (of 3 total)
  • I noticed php7 compatibility issues today too. These are the warnings i see…

    PHP Warning: Declaration of Related_Sub_Items_Walker::start_lvl(&$output, $depth, $args) should be compatible with Walker_Nav_Menu::start_lvl(&$output, $depth = 0, $args = Array) in wp-content/plugins/advanced-menu-widget/advanced-menu-widget.php on line 0\nPHP message: PHP Warning: Declaration of Related_Sub_Items_Walker::end_lvl(&$output, $depth, $args) should be compatible with Walker_Nav_Menu::end_lvl(&$output, $depth = 0, $args = Array) in wp-content/plugins/advanced-menu-widget/advanced-menu-widget.php on line 0

    and

    PHP Warning: Declaration of Related_Sub_Items_Walker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Array, $id = 0) in wp-content/plugins/advanced-menu-widget/advanced-menu-widget.php on line 0

    Hope this helps!

    It seems like these warnings have been around since before PHP 7:

    https://wordpress.org/support/topic/several-errors-when-wp_debug-is-on

    I have installed Advanced Menu Widget on a test server and, from my limited testing, it seems to work as it does on PHP 5. Pages load as normal, the plugin displays the menus (at least with the features I use) and there aren’t any visible PHP errors.

    Sorry I can’t help with any fixes, but hopefully continued use if you upgrade to PHP 7 shouldn’t cause any issues.

    James

    Plugin Author JohnnyPea

    (@johnnypea)

    This is resolved in the latest version 0.4.

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