{"id":6027805,"date":"2015-04-18T00:24:36","date_gmt":"2015-04-18T00:24:36","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/walker-compatibility-errors\/"},"modified":"2016-08-24T14:53:54","modified_gmt":"2016-08-24T14:53:54","slug":"walker-compatibility-errors","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/walker-compatibility-errors\/","title":{"rendered":"Walker compatibility errors"},"content":{"rendered":"<p>I am getting strict errors logged like the following:<\/p>\n<p>&#8220;Error: Declaration of Shailan_Walker_Page::end_lvl() should be compatible with Walker::end_lvl(&amp;$output, $depth = 0, $args = Array)&#8221;<\/p>\n<p>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.<\/p>\n<p>This is similar to: <a href=\"https:\/\/wordpress.org\/support\/topic\/post-expirator-error-messages?replies=3\">https:\/\/wordpress.org\/support\/topic\/post-expirator-error-messages?replies=3<\/a><\/p>\n<p>Thanks,<br \/>\nJosh<\/p>\n<p>https:\/\/wordpress.org\/plugins\/subpages-extended\/<\/p>\n","protected":false},"template":"","class_list":["post-6027805","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6027805","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6027805\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6027805"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}