Conflict with Avada theme
-
Hello,
When I visit course.sustainabilityteachers.org/wp-admin/nav-menus.php 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.21Error Details
=============
An error of type E_ERROR was caused in line 891 of the file /home/sustainabilityte/course.sustainabilityteachers.org/wp-content/themes/Avada/includes/class-avada-megamenu-framework.php. Error message: Uncaught ArgumentCountError: Too few arguments to function Avada_Megamenu_Framework::add_menu_button_fields(), 4 passed in /home/sustainabilityte/course.sustainabilityteachers.org/wp-includes/class-wp-hook.php on line 287 and exactly 5 expected in /home/sustainabilityte/course.sustainabilityteachers.org/wp-content/themes/Avada/includes/class-avada-megamenu-framework.php:891
Stack trace:
#0 /home/sustainabilityte/course.sustainabilityteachers.org/wp-includes/class-wp-hook.php(287): Avada_Megamenu_Framework->add_menu_button_fields(‘136’, Object(WP_Post), 0, Object(stdClass))
#1 /home/sustainabilityte/course.sustainabilityteachers.org/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#2 /home/sustainabilityte/course.sustainabilityteachers.org/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#3 /home/sustainabilityte/course.sustainabilityteachers.org/wp-content/plugins/uncanny-learndash-toolkit/src/includes/custom-walker-nav-menu.php(199): do_action(‘wp_nav_menu_ite…’, ‘136’, Object(The page I need help with: [log in to see the link]
- The topic ‘Conflict with Avada theme’ is closed to new replies.