Fatal error after update the theme
Hi, I have problem with WP site. After I updated the theme site does not working and showing this fatal error:
Fatal error: Uncaught Error: Call to undefined function wp_enqueue_code_editor() in /data/e/7/e70a341c-899e-4e05-b5f9-dbdce8173923/bioxa.cz/sub/eshop/wp-content/themes/betheme/muffin-options/options.php:186 Stack trace: #0 /data/e/7/e70a341c-899e-4e05-b5f9-dbdce8173923/bioxa.cz/sub/eshop/wp-includes/class-wp-hook.php(298): MFN_Options->_enqueue('edit.php') #1 /data/e/7/e70a341c-899e-4e05-b5f9-dbdce8173923/bioxa.cz/sub/eshop/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /data/e/7/e70a341c-899e-4e05-b5f9-dbdce8173923/bioxa.cz/sub/eshop/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /data/e/7/e70a341c-899e-4e05-b5f9-dbdce8173923/bioxa.cz/sub/eshop/wp-admin/admin-header.php(97): do_action('admin_enqueue_s...', 'edit.php') #4 /data/e/7/e70a341c-899e-4e05-b5f9-dbdce8173923/bioxa.cz/sub/eshop/wp-admin/edit.php(303): require_once('/data/e/7/e70a3...') #5 {main} thrown in /data/e/7/e70a341c-899e-4e05-b5f9-dbdce8173923/bioxa.cz/sub/eshop/wp-content/themes/betheme/muffin-options/options.php on line 186
in backend (WP dashboard is not working):
Fatal error: Uncaught Error: Call to undefined function wp_enqueue_code_editor() in /data/e/7/e70a341c-899e-4e05-b5f9-dbdce8173923/bioxa.cz/sub/eshop/wp-content/themes/betheme/muffin-options/options.php:186 Stack trace: #0 /data/e/7/e70a341c-899e-4e05-b5f9-dbdce8173923/bioxa.cz/sub/eshop/wp-includes/class-wp-hook.php(298): MFN_Options->_enqueue('edit.php') #1 /data/e/7/e70a341c-899e-4e05-b5f9-dbdce8173923/bioxa.cz/sub/eshop/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /data/e/7/e70a341c-899e-4e05-b5f9-dbdce8173923/bioxa.cz/sub/eshop/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /data/e/7/e70a341c-899e-4e05-b5f9-dbdce8173923/bioxa.cz/sub/eshop/wp-admin/admin-header.php(97): do_action('admin_enqueue_s...', 'edit.php') #4 /data/e/7/e70a341c-899e-4e05-b5f9-dbdce8173923/bioxa.cz/sub/eshop/wp-admin/edit.php(303): require_once('/data/e/7/e70a3...') #5 {main} thrown in /data/e/7/e70a341c-899e-4e05-b5f9-dbdce8173923/bioxa.cz/sub/eshop/wp-content/themes/betheme/muffin-options/options.php on line 186
and errors like this in forntend in shop catergory:
- Fatal error: Uncaught Error: Call to undefined function wc_product_class() in /data/e/7/e70a341c-899e-4e05-b5f9-dbdce8173923/bioxa.cz/sub/eshop/wp-content/themes/betheme/woocommerce/content-product.php:41 Stack trace: #0 /data/e/7/e70a341c-899e-4e05-b5f9-dbdce8173923/bioxa.cz/sub/eshop/wp-includes/template.php(690): require() #1 /data/e/7/e70a341c-899e-4e05-b5f9-dbdce8173923/bioxa.cz/sub/eshop/wp-content/plugins/woocommerce/includes/wc-core-functions.php(179): load_template('/data/e/7/e70a3...', false) #2 /data/e/7/e70a341c-899e-4e05-b5f9-dbdce8173923/bioxa.cz/sub/eshop/wp-content/themes/betheme/woocommerce/archive-product.php(79): wc_get_template_part('content', 'product') #3 /data/e/7/e70a341c-899e-4e05-b5f9-dbdce8173923/bioxa.cz/sub/eshop/wp-content/plugins/woocommerce/includes/wc-core-functions.php(209): include('/data/e/7/e70a3...') #4 /data/e/7/e70a341c-899e-4e05-b5f9-dbdce8173923/bioxa.cz/sub/eshop/wp-content/plugins/woocommerce/templates/taxonomy-product_cat.php(22): wc_get_template('archive-product...') #5 /data/ in /data/e/7/e70a341c-899e-4e05-b5f9-dbdce8173923/bioxa.cz/sub/eshop/wp-content/themes/betheme/woocommerce/content-product.php on line 41
WP version is older than 5.5.1
PHP version is 7.2
Tanks for advice
Comments
Also, please update your WP to the newest version.
Thanks
Thanks
Thanks