Site Broken with latest updates

Earlier today I was notified that the front end of the site was broken after updating WooCommerce, Gutenberg and WordPress.

There was a Fatal error produced in the child theme Wizzie. This was due to some function name changes in Gutenberg 11.9.0.

The fix was to update the theme to check for the existence of the renamed function.


Fatal error from Wizzie<br />
<b>Fatal error</b>:  Uncaught Error: Call to undefined function gutenberg_get_allowed_template_part_areas() in /home/customer/www/
Stack trace:
#0 /home/customer/www/ wizzie_render_block_core_template_part(Array, '&lt;nav style=&quot;fon...', Object(WP_Block))
#1 /home/customer/www/ {closure}(Array, '', Object(WP_Block))
#2 /home/customer/www/ WP_Block-&gt;render()
#3 /home/customer/www/ WP_Block-&gt;render()
#4 /home/customer/www/ WP_Block-&gt;render()
#5 /home/customer/www/ render_block(Array)
#6 /home/customer/www/ in <b>/home/customer/www/</b> on line <b>135</b><br />


This was resolved by switching to the parent theme, Fizzie.


Update the Wizzie theme. See bobbingwide/wizzie#9.

if ( function_exists( 'gutenberg_get_allowed_template_part_areas')) {
            $defined_areas = gutenberg_get_allowed_template_part_areas();
        } else {
            $defined_areas = get_allowed_block_template_part_areas();

For more information on the function name changes see wordpress/gutenberg#36180.