Replcace this
function start_el(&$output, $item, $depth, $args) { ....
with this
function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) { ....
I hope this will work.
Related Posts:
- Fatal error: Call to undefined function wpsc_cart_item_count()
- style.min.css code issue
- Need help with Deprecated: Non-static error when update PHP 7.4 -> 8.1 with Dyad 2 theme
- Should I use spl_autoload_register() in my plugin?
- WP-CLI – Selecting PHP version
- esc_attr() right way and use
- Hide php Notices in Dashboard
- Upgrading PHP version results in “Use of undefined constant WP_CONTENT_DIR” warning?
- Is having multiple theme customizers for different pages possible?
- Detection of theme being used
- reason of splitting theme files to multiple files
- Replacing mysql_real_escape_string in WordPress theme
- The best way to customize “nav-menu-template.php” to add if the ‘link_before’ is “checkbox”
- Can’t Find a Way to Edit the Home Page Content [closed]
- Use different javascript files for each page on website
- How to get custom image size for image uploaded in Customizer
- Error when requesting password reset email – wp authentication
- Widgets not showing in my custom theme
- Want to create Child theme, but already edited Parent theme css files and some php files
- After upgrading to PHP 7.0 my contact form outputs error
- Adding code to child theme functions.php to override parent theme behaviour doesn’t work
- How the functions in WP are called in tags
- Add a Second Menu to a theme that only support 1 menu
- Can’t load WP function into external function
- Customizer: Output default value in Customizer CSS
- WordPress does not load page.php, return 404.php
- How to find error in my code when the error message is pointing to WP core file?
- WordPress add post format support not working
- WordPress: Access a plugin from within a theme
- PHP Warning: Attempt to read property “term_id” on bool
- Mute Debug Messages from Plugins
- WordPress Shortcodes.. printf is outputting a random number… Can’t figure out WHY?
- Error on wp_default_style After upgrade to php 7
- My page.php shows the index.php
- Compare the old get_theme_mod($name) to the new get_theme_mod($name) return value
- How do I link a button I created in theme customizer to a function?
- Error: options page not found
- 404 error when I acess the second page of post-type
- How to change theme programmatically from a external application?
- Is the “_s” on this `sprintf(__(‘Page %s’, ‘_s’), max($paged, $page))` just refer to a text domain?
- Does wordpress templates always in files or in database?
- Which is the correct way to conditionally enqueue a CSS file?
- “Undefined index” error when saving empty array with checkboxes
- Reason to add a name of the theme like (‘menu-1’ => __( ‘Primary’, ‘twentynineteen’ ),) in PHP?
- Separation of presentation and code – WordPress
- get_template_directory adding FTP root folders in urls
- How to integrate noimage picture in this code
- customize wordpress database error page
- Need oop for wordpress theme? [duplicate]
- Warning: printf(): Too few arguments in helpers.php file
- After adding my website to a new server, I keep getting a unexpected end of file error, but the file is identitcal to it’s original source
- WordPress and PHP Version Upgrade issue [closed]
- How to Update an old theme for the latest wordpress version
- get_comments_number() returns 0
- Fatal errors to undefined function in theme 404.php file [closed]
- ‘Bones’ theme: Load stock scripts in footer instead of header?
- How to make sure relative URL works when site is not on root domain?
- Editing Theme Files on WordPress.com-hosted Site [closed]
- call a string/function from database
- Some problems calling a function into sprintf() inside functions.php template file [closed]
- Blog suddenly shows Archive instead of index page
- Wrap title and excerpt in a div (latest posts block)
- How to set all External Domain Links with nofollow Attribute from Header Footer Content and Excerpt using PHP?
- Uncaught TypeError: extract(): Argument #1 ($array) must be of type array, null given
- Illegal string offset in PHP function in via Theme Customizer
- How do I use an iFrame for my header in WordPress twenty seventeen?
- Cannot find the php_ini configuration file to find my error log to see why my code is not working
- I am having errors with checkout on wordpress
- When I click for the redirect link it is showing the content of index.php instead of single_assignment_page.php
- remove_action from parent theme using child theme functions.php
- Intermittent 503 Service Unavailable Error
- How to use data URL in WordPress?
- Force Sidebar on Full Width page
- Trying to get property ‘ID’ and ‘post_author’ of non-object error
- WordPress database error only while loading page for 1st time
- This occurs when I open admin or front on localhost
- How to add Open/Close Toggle button into Twenty Fifteen theme for hiding left sidebar?
- WordPress 3.0 PHP Error – notice WordPress_product_Type was called incorrectly
- Use Custiomizer to setup meta theme color tag
- Custom Theme, Editor won’t wrap text (i.e. change width)
- Editted Theme Files Get Updated/Reverted Every So Often
- WordPress pagination broken on blog page, working for search results page
- two wordpress sites, two themes, one database, same content
- calling a function from a class in your template
- Showing custom field contents without listing description
- Hide cart when empty [closed]
- Shortcode Display From WordPress Dashboard Page Without Using post_id
- How can I print out a single stylesheet or javascript link?
- Troubleshooting “loopback requests that take too long”
- What does that mean: cannot use a scalar value as an array [closed]
- problem with php function error
- WordPress White Screen Error
- Link a lightbox thumbnail to a post instead of opening the lightbox
- Predefine Magazine Style Layouts
- Please help! Parse error: syntax error, unexpected ‘
- How to store the_post_thumbnail() value in a variable
- PHP warning $post->ID is null
- a problem in class in class-wp-hook.php
- Use of undefined constant issue
- Using Featured Image as Hero Background in Word Press