Fatal error: Uncaught Error: Call to undefined function wp_theme_has_theme_json() in /wp-content/plugins/use-any-font/includes/functions/uaf_block_editor_functions.php:62
Stack trace:
#0 /wp-content/plugins/use-any-font/includes/functions/uaf_block_editor_functions.php(49): uaf_update_theme_json_font(Array)
#1 /wp-content/plugins/use-any-font/includes/functions/uaf_font_functions.php(242): uaf_block_editor_custom_fonts()
#2 /wp-content/plugins/use-any-font/includes/functions/uaf_admin_functions.php(137): uaf_write_css()
#3 /wp-includes/class-wp-hook.php(307): uaf_plugin_initialize('')
#4 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(Object(RegenerateThumbnails), Array)
#5 /wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#6 /wp-settings.php(587): do_action('init')
#7 /wp-config.php(95): require_once('/wp-settings.ph...')
#8 /wp-load.php(50): require_once('/wp-config.php')
#9 /wp-blog-header.php(13): require_once('/wp-load.php')
#10 /index.php(17): require('/wp-blog-header...')
#11 {main}
thrown in /wp-content/plugins/use-any-font/includes/functions/uaf_block_editor_functions.php on line 62