I would like to create custom walker menu. I used example code in the documentation http://codex.ww.wp.xz.cn/Function_Reference/wp_nav_menu#Example but it is producing a Fatal error: Using $this when not in object context in /……/wp-includes/class-wp-walker.php on line 192