I upgraded my site to PHP 7 and now get this error on the frontend:
Warning: Declaration of Works_Walker::start_el(&$output, $category, $depth, $args) should be compatible with Walker_Category::start_el(&$output, $category, $depth = 0, $args = Array, $id = 0)
The code that this refers to is:
class Works_Walker extends Walker_Category {
function start_el(&$output, $category, $depth, $args)
When I edit this code to match the parent I get a syntax error.
class Works_Walker extends Walker_Category {
function start_el(&$output, $category, $depth = 0, $args = Array, $id = 0)
The "Array" seems to be the cause of the syntax error. I hope this is helpful info for a diagnosis.