Everything works fine with the Storefront theme. But when I activate the MediaCenter theme, It gives a fatal error.
Fatal error: Uncaught ArgumentCountError: Too few arguments to function WeDevs\Dokan\Dashboard\Templates\Products::load_inventory_template(), 1 passed in /home/customer/www/nikotbazar.com/public_html/wp-includes/class-wp-hook.php on line 287 and exactly 2 expected in /home/customer/www/nikotbazar.com/public_html/wp-content/plugins/dokan-lite/includes/Dashboard/Templates/Products.php:104 Stack trace: #0 /home/customer/www/nikotbazar.com/public_html/wp-includes/class-wp-hook.php(287): WeDevs\Dokan\Dashboard\Templates\Products::load_inventory_template(”) #1 /home/customer/www/nikotbazar.com/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #2 /home/customer/www/nikotbazar.com/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /home/customer/www/nikotbazar.com/public_html/wp-content/themes/mediacenter/dokan/products/new-product-single.php(414): do_action(‘dokan_product_e…’) #4 /home/customer/www/nikotbazar.com/public_html/wp-includes/template-loader.php(106): include(‘/hom in /home/customer/www/nikotbazar.com/public_html/wp-content/plugins/dokan-lite/includes/Dashboard/Templates/Products.php on line 104
There has been a critical error on your website.