Hi guys,
I just updated my Wordpress to 5.6 and my Cornerstone to 5.0.11 and I got the following error trying to edit ANY page with Cornerstone:
When I checked the PHP log I got the following errors:
[15-Jan-2021 12:27:03 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_assignments() on bool in /home/…/[…com/wp-content/themes/x/framework/functions/fonts.php:59]
Stack trace:
#0 /home/…/[…com/wp-includes/class-wp-hook.php(287)]): x_google_font_assignments_original_header(Array)
#1 /home/…/[…com/wp-includes/plugin.php(212)]): WP_Hook->apply_filters(Array, Array)
#2 /home/…/[…com/wp-content/themes/x/framework/functions/fonts.php(27)]): apply_filters(‘x_google_font_a…’, Array)
#3 /home/…/[…com/wp-content/themes/x/framework/functions/fonts.php(83)]): x_google_fonts_queue()
#4 /home/…/[…com/wp-includes/class-wp-hook.php(287)]): x_google_fonts_queue_cached(’’)
#5 /home/…/[…com/wp-includes/class-wp-hook.php(311)]): WP_Hook->apply_filters(’’, Array)
#6 /home/…/[…com/wp-includes/plugin.php(484)]): WP_Hook->do_action(Array)
#7 /home/…/[…com/wp-content/themes/x/framework/functions/frontend/styles.php(101)]): do_action(‘x_before_head_c…’)
#8 /home/…/un in /home/…/[…com/wp-content/themes/x/framework/functions/fonts.php] on line 59
Please help!