Skip to content

PHP Warning: Declaration of PLL_Walker_Dropdown::walk #414

@Chrystll

Description

@Chrystll

Plugins activated and WordPress version

Twenty Nineteen
Polylang Pro 2.6.5
WordPress 5.3-beta3-46455

Issue description

I get a PHP warning:

PHP Warning:  Declaration of PLL_Walker_Dropdown::walk($elements, $args = Array) should be compatible with Walker::walk($elements, $max_depth, ...$args) in /polylang/include/walker-dropdown.php on line 94
PHP Stack trace:
PHP   1. {main}() /trunk-test/wp-admin/edit.php:0
PHP   2. WP_Posts_List_Table->inline_edit() /trunk-test/wp-admin/edit.php:439
PHP   3. do_action() /trunk-test/wp-admin/includes/class-wp-posts-list-table.php:1890
PHP   4. WP_Hook->do_action() /trunk-test/wp-includes/plugin.php:475
PHP   5. WP_Hook->apply_filters() /trunk-test/wp-includes/class-wp-hook.php:312
PHP   6. PLL_Admin_Filters_Columns->quick_edit_custom_box() /trunk-test/wp-includes/class-wp-hook.php:290
PHP   7. spl_autoload_call() /polylang/admin/admin-filters-columns.php:179
PHP   8. Polylang->autoload() /polylang/admin/admin-filters-columns.php:179

This warning doesn't happen with the stable version of WordPress 5.2.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions