Support » Plugin: Uncanny Toolkit for LearnDash » Conflict with Avada theme

  • Resolved carlaturner91



    When I visit I get a fatal error on more than one of my sites running Avada, LearnDash and Uncanny Owl Toolkit.

    If I disable the uncanny owl toolkit the error goes away

    This is the error:

    WordPress version 5.5.1
    Current theme: Avada Child (version 1.0.0)
    Current plugin: (version )
    PHP version 7.3.21

    Error Details
    An error of type E_ERROR was caused in line 891 of the file /home/sustainabilityte/ Error message: Uncaught ArgumentCountError: Too few arguments to function Avada_Megamenu_Framework::add_menu_button_fields(), 4 passed in /home/sustainabilityte/ on line 287 and exactly 5 expected in /home/sustainabilityte/
    Stack trace:
    #0 /home/sustainabilityte/ Avada_Megamenu_Framework->add_menu_button_fields(‘136’, Object(WP_Post), 0, Object(stdClass))
    #1 /home/sustainabilityte/ WP_Hook->apply_filters(NULL, Array)
    #2 /home/sustainabilityte/ WP_Hook->do_action(Array)
    #3 /home/sustainabilityte/ do_action(‘wp_nav_menu_ite…’, ‘136’, Object(

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Uncanny Owl


    Yes, Avada has their own menu system that will create conflicts with many other menu plugins. You should unfortunately not use our Menu Item Visibility module with Avada. Sorry about that.


    Instead of automatically blaming other vendors please actually check the error report next time. There error here is coming from 5 parameters are expected here but the plugin is only passing on 4.

    Thank you.

    I’ve just seen this thread when going to post mine…
    I made a video (sorry for the quality, I’m not native English speaker) just in case it could help


    Plugin Author Uncanny Owl


    Hi @mikka23, you’re right, we should have investigated the error. I assumed it was related to some Avada conflicts we have seen in the past.

    We have applied a change that addresses the issue you identified in your comment. The file is temporarily available at, as the fix will be included in the next release of the plugin. Once downloaded, that file can be uploaded by FTP and replace the existing version at /wp-content/plugins/uncanny-learndash-toolkit/src/includes/custom-walker-nav-menu.php

    We don’t have a copy of Avada to test against, but it does address the issue that you identified.

    Thread Starter carlaturner91


    Hello hello,

    Thank you @uncannyowl – I have tested and the fix works!

    @virtualced – thanks for the video and outlining it all so nicely for us šŸ™‚

    Plugin Author Uncanny Owl


    Excellent, thanks for confirming that it does fix things!

    I had the same issue, I found this fix here and yes, it worked for me too. Thanks Uncanny Owl.

    Plugin Author Uncanny Owl


    That’s great, thanks for confirming @uckunb!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Conflict with Avada theme’ is closed to new replies.