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:

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

  • Hello,
    Please, turn off all of the plugins, refresh your cache, and check if the errors still appear.
    Also, please update your WP to the newest version.

    Thanks

  • edited October 2020
    Hello Phil, thank you for your reply but the WP dashboard/backend is unavailable and I can't log in. lt looks like this:
    image
  • Please, do a backup of your website by your hosting, and reinstall Betheme using FTP method.

    All your data are stored in database, so you will not be missing anything.

    Thanks
  • edited October 2020
    Hi, In the meantime I did it (backup and reinstall theme via FTP) and it is running now.

    This is a old web site and I'm redesigning it and there was an old version of woocommerce plugin, that was a problem.

    Now I'm struggling with shop categories sidebar (I mean the default sidebar for woocommerce Plugin | Woocommerce). I have no idea how to show it on every woocommerce pages (shop, category page, product page). I have tried every settings (also from this forum) and still not showing. 

    Thanks
  • Check this video guide below about creating sidebars, and be sure that you make every step properly.


    Thanks
  • edited October 2020
    Yes, I watched it. If I create a custom sidebar it is working but only on the classic page. But it is no way to put the shop sidebar (Plugin | Woocommerce) on the shop, category and product pages.

    As I wrote, it is a old site crated by I don't know who. Maybe is there some custom code what is disabling it. I found some in custom CSS field in theme options.

    Could you check it if I send you the dashboard access, please?

    Thanks
  • OK I got it now. 

    Anyway, thanks for help.
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.