First of all, I seem to have this similar issue t and I tried the suggested fix but it didn’t work(also tried reuploading the child theme files).
It’s just weird that after updating all the plugins and WordPress version to the latest(from 5.2 to 5.3.2) installed in PHP 7.2 server. Everything works just fine until I tried switching themes and switching back again to its child theme. This produces the error log below and the site page is displaying a message “There has been a critical error on your website”.
Uncaught Error: Call to undefined function siteorigin_setting() in /home/vxuhsh8d3kss/public_html/qpsg_com_au/staging/wp-content/themes/siteorigin-corp-child/header.php:33
#0 /home/vxuhsh8d3kss/public_html/qpsg_com_au/staging/wp-includes/template.php(722): require_once()
#1 /home/vxuhsh8d3kss/public_html/qpsg_com_au/staging/wp-includes/template.php(671): load_template(‘/home/vxuhsh8d3…’, true)
#2 /home/vxuhsh8d3kss/public_html/qpsg_com_au/staging/wp-includes/general-template.php(41): locate_template(Array, true)
#3 /home/vxuhsh8d3kss/public_html/qpsg_com_au/staging/wp-content/themes/siteorigin-corp-child/index.php(17): get_header()
#4 /home/vxuhsh8d3kss/public_html/qpsg_com_au/staging/wp-includes/template-loader.php(98): include(‘/home/vxuhsh8d3…’)
#5 /home/vxuhsh8d3kss/public_html/qpsg_com_au/staging/wp-blog-header.php(19): require_once(‘/home/vxuhsh8d3…’)
#6 /home/vxuhsh8d3kss/public_html/qpsg_com_au/staging/index.php(17): require(‘/home/vxuhsh8d3…’)
thrown in /home/vxuhsh8d3kss/public_html/qpsg_com_au/staging/wp-content/themes/siteorigin-corp-child/header.php on line 33.
Any help will be much appreciated.
As always, thank you so much for the free but wonderful themes and plugins.