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
- error_log() output for print_r() appearing on page
- WordPress Theme variables scope
- esc_attr() right way and use
- When to use Exceptions vs Error Objects vs just plain false/null
- Hide php Notices in Dashboard
- why is translation not working on theme?
- PHP Catchable fatal error: Object of class WP_Error could not be converted to string
- Upgrading PHP version results in “Use of undefined constant WP_CONTENT_DIR” warning?
- Is having multiple theme customizers for different pages possible?
- WSOD but WP_DEBUG not giving any errors
- How to export/import theme customizer settings?
- Check php version before theme activation
- Separate WordPress themes for each category page
- WordPress “Link has expired” error on updating posts
- Detection of theme being used
- Permanently remove first image from posts
- reason of splitting theme files to multiple files
- How can I remove “Proudly powered by WordPress” from twentyeleven without modifying footer.php?
- How to get the registered sidebar’s name by its id?
- Set the transport of the Customizer ‘header_image’ core setting to ‘postMessage’
- One button to change all settings in theme customizer?
- 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”
- Activate different theme for temporary preview
- get_the_content if it contains multiple lines it results in SyntaxError
- Nice scroll to wordpress
- Twitter feed is showing blank in WP site [closed]
- Design view breaking on Pages
- Notice: Constant already defined in wp-config.php on (non-existent) line?
- Can’t Find a Way to Edit the Home Page Content [closed]
- How to resolve error “Cookies are blocked due to unexpected output.”?
- error_log is not working as expected in functions.php file
- Enable errors PHP WordPress 5.2
- How do I hardcode a WordPress shortcode into my theme?
- Use different javascript files for each page on website
- “Can’t use function return value in write context” error
- Why when I instantiate wp_error in a validation method my user registration method stops working?
- How to get custom image size for image uploaded in Customizer
- Passing array in add_option()
- Error when requesting password reset email – wp authentication
- “Notice: Undefined variable: content” is showing [closed]
- 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
- Create a quick start wordpress installation [closed]
- How should I best target dynamically served content?
- Does WordPress have a built in reference to the PHP version its running under? [closed]
- How the functions in WP are called in tags
- Can WordPress email the admin about PHP errors, while hiding them from the site?
- How do themes render caption texts in extended markup (e.g. “wp-caption” paragraphs)
- Add a Second Menu to a theme that only support 1 menu
- Changing the template hierarchy
- How to Insert Shortcodes into Theme?
- Warning: Use of undefined constant HTTP_USER_AGENT – assumed ‘HTTP_USER_AGENT’ (this will throw an Error in a future version of PHP)
- White Screen of Death – wp-admin
- Ajax return code 400
- Can’t load WP function into external function
- Set WordPress Default Template
- Custom Theme, Custom shortcode not working
- WordPress 5 WP REST routes – No errors
- 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?
- Adding custom directory and PHP files in wordpress
- Where in PHP do I move title and meta (date) to bottom of each blog section?
- get_term_link() returns correct – But illogical error-messages disturb
- Show full posts in archive
- 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
- Getting error when trying to implement site-wide breadcrumbs in Twentytwentyone Theme [closed]
- Connect WordPress with SharePoint [closed]
- Reconfiguring WordPress site
- adding custom user input fields in WordPress admin dashboard gives error The link you followed has expired. Please try again
- Mute Debug Messages from Plugins
- Move category description below post list in blog
- WordPress Script stops suddenly
- WordPress Shortcodes.. printf is outputting a random number… Can’t figure out WHY?
- A non-numeric value encountered in /wp-includes/functions.php on line 68
- Error on wp_default_style After upgrade to php 7
- Customizer: active_callback and sanitize_callback incompatibility?
- My page.php shows the index.php
- Compare the old get_theme_mod($name) to the new get_theme_mod($name) return value
- Custom Theme’s “Preview Changes” Doesn’t Work for Previously Published Posts
- Getting error when using wp_insert_post()
- 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?
- Headers already sent in Pluggable.php / homepage and wp-login error
- 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?
- proper way to add css using functions.php?