I updated theme via FTP due to the WP 6.2 upgrade issue. Site appeared to be working (we also use a X child theme). But noticed the top menu appears but dropdowns all missing. When I click Customise, it says critical error with website.
Error from email below:
WordPress version 6.2
Active theme: X – Child Theme (version 1.0.0) Current plugin: (version ) PHP version 7.4.33
Error Details
=============
An error of type E_ERROR was caused in line 36 of the file /home/customer/www/rsy-netzer.org.uk/public_html/wp-content/themes/x/framework/legacy/functions/admin/customizer.php. Error message: Uncaught Error: Call to undefined function cornerstone() in /home/customer/www/rsy-netzer.org.uk/public_html/wp-content/themes/x/framework/legacy/functions/admin/customizer.php:36
Stack trace:
#0 /home/customer/www/rsy-netzer.org.uk/public_html/wp-includes/class-wp-hook.php(308): x_customizer_manage_theme_options_button(’’)
#1 /home/customer/www/rsy-netzer.org.uk/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#2 /home/customer/www/rsy-netzer.org.uk/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home/customer/www/rsy-netzer.org.uk/public_html/wp-admin/customize.php(174): do_action(‘customize_contr…’)
#4 {main}
thrown
