After updating Be_Custom plugin I get the following error and Be_Custom page crashes. PLEASE HELP!
Error Details
=============
An error of type E_ERROR was caused in line 13 of the file /var/www/html/wp-content/themes/betheme/muffin-options/fields/class-mfn-options-field.php. Error message: Uncaught ArgumentCountError: Too few arguments to function Mfn_Options_field::__construct(), 0 passed in /var/www/html/wp-content/plugins/becustom/becustom.php on line 451 and at least 1 expected in /var/www/html/wp-content/themes/betheme/muffin-options/fields/class-mfn-options-field.php:13
Stack trace:
#0 /var/www/html/wp-content/plugins/becustom/becustom.php(451): Mfn_Options_field->__construct()
#1 /var/www/html/wp-includes/class-wp-hook.php(307): Be_custom->enqueue()
#2 /var/www/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#3 /var/www/html/wp-includes/plugin.php(476): WP_Hook->do_action()
#4 /var/www/html/wp-admin/admin-header.php(125): do_action()
#5 /var/www/html/wp-admin/admin.php(239): require_once('/var/www/html/w...')
#6 {main}
thrown
Comments
Hi,
Can you tell me what version of PHP, WP, and Betheme you have, please?
Thanks