Problem with updating sidebar

Hello, I am writing to you because I had some problems with the template after I updated the site. The previous site version was version Version: 21.0.6, now that I upgraded to version 22 this message appeared. Could you tell me what caused it? Thank you very much

Fatal error: Uncaught Error: Call to undefined function mfn_sidebar() in /var/www/vhosts/exafutures.com/httpdocs/autohome/wp-content/themes/betheme/sidebar.php:10 Stack trace: #0 /var/www/vhosts/exafutures.com/httpdocs/autohome/wp-includes/template.php(730): require_once() #1 /var/www/vhosts/exafutures.com/httpdocs/autohome/wp-includes/template.php(676): load_template('/var/www/vhosts...', true, Array) #2 /var/www/vhosts/exafutures.com/httpdocs/autohome/wp-includes/general-template.php(136): locate_template(Array, true, true, Array) #3 /var/www/vhosts/exafutures.com/httpdocs/autohome/wp-content/themes/betheme/page.php(65): get_sidebar() #4 /var/www/vhosts/exafutures.com/httpdocs/autohome/wp-includes/template-loader.php(106): include('/var/www/vhosts...') #5 /var/www/vhosts/exafutures.com/httpdocs/autohome/wp-blog-header.php(19): require_once('/var/www/vhosts...') #6 /var/www/vhosts/exafutures.com/httpdocs/autohome/index.php(17): require('/var/www/vhosts...') #7 {main} thrown in /var/www/vhosts/exafutures.com/httpdocs/autohome/wp-content/themes/betheme/sidebar.php on line 10

Comments

  • Hello,

    Please, turn off all of the plugins, refresh your cache, and check if this issue still appears.

    Moreover, if you are using a child theme, please, switch to parent, and check if it works correctly then.


    Thanks

  • Thank you very much for the information. I tried disabling the plugins and clearing the cache, but the message remains. I also tried to change the theme from the child theme to the main one. The message did not appear, but the sidebar was not displayed correctly. (In the child theme the sidebar has not been customized).

  • Please attach a link to your website so we can check it out. If the page is offline(localhost), then our help will be limited, you will have to contact us when the page is online. Also, please make sure that the page is not under maintenance before you provide us the link.

    Can you also, explain to me greater what do you mean by "the sidebar was not displayed correctly"?

    What is exactly happening to this sidebar.


    Thanks

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.