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