Walker compatibility errors
-
I am getting strict errors logged like the following:
“Error: Declaration of Shailan_Walker_Page::end_lvl() should be compatible with Walker::end_lvl(&$output, $depth = 0, $args = Array)”
I was able to stop them by matching the declaration code for the following to the parent abstract methods: start_lvl, end_lvl, star_el, end_el.
This is similar to: https://wordpress.org/support/topic/post-expirator-error-messages?replies=3
Thanks,
Josh
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Walker compatibility errors’ is closed to new replies.