Assigning menu throws critical error
-
Hello. I`m trying to convert my standard elementor nav menu to mega menu. If i go to mega menu location settings and try to click assign menu or if i try to access menu settings in Appearance > Menus it throws “There has been a critical error on this website. Please check your site admin email inbox for instructions.”</p> <p>If i disable max mega menu plugin i`m able to access Appearance > menus again
Thank you!
Here is the error log i got in the mail
“
Error Details
=============
An error of type E_ERROR was caused in line 563 of the file /home/knq4tv853s5p/public_html/wp-content/plugins/woocommerce-payments/includes/admin/class-wc-payments-admin.php. Error message: Uncaught TypeError: array_merge(): Argument #1 must be of type array, null given in /home/knq4tv853s5p/public_html/wp-content/plugins/woocommerce-payments/includes/admin/class-wc-payments-admin.php:563
Stack trace:
#0 /home/knq4tv853s5p/public_html/wp-content/plugins/woocommerce-payments/includes/admin/class-wc-payments-admin.php(563): array_merge()
#1 /home/knq4tv853s5p/public_html/wp-content/plugins/woocommerce-payments/includes/admin/class-wc-payments-admin.php(637): WC_Payments_Admin->register_payments_scripts()
#2 /home/knq4tv853s5p/public_html/wp-includes/class-wp-hook.php(308): WC_Payments_Admin->enqueue_payments_scripts()
#3 /home/knq4tv853s5p/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#4 /home/knq4tv853s5p/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /home/knq4tv853s5p/public_html/wp-content/plugins/megamenu/megamenu.php(169): do_action()
#6 /home/knq4tv853s5p/public_html/wp-includes/class-wp-hook.php(308): Mega_Menu->admin_enqueue_scripts()
#7 /home/knq4tv853s5p/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#8 /home/knq4tv853s5p/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#9 /home/knq4tv853s5p/public_html/wp-admin/admin-header.php(118): do_action()
#10 /home/knq4tv853s5p/public_html/wp-admin/nav-menus.php(675): require_once(‘/home/knq4tv853…’)
#11 {main}
thrown“
-
This topic was modified 3 years, 4 months ago by
deivis2021.
-
This topic was modified 3 years, 4 months ago by
deivis2021.
-
This topic was modified 3 years, 4 months ago by
deivis2021.
The page I need help with: [log in to see the link]
-
This topic was modified 3 years, 4 months ago by
-
Hi,
This is a conflict with WC Payments:
https://github.com/Automattic/woocommerce-payments/issues/5137
It seems like they should release a fix on 11th Jan,
Regards,
TomIt got fixed thank you
The topic ‘Assigning menu throws critical error’ is closed to new replies.