Fatal error: Uncaught Error: Call to undefined function wp_theme_has_theme_json() in /home/rswa/public_html/wp-content/plugins/use-any-font/includes/functions/uaf_block_editor_functions.php:62
Stack trace:
#0 /home/rswa/public_html/wp-content/plugins/use-any-font/includes/functions/uaf_block_editor_functions.php(49): uaf_update_theme_json_font(Array)
#1 /home/rswa/public_html/wp-content/plugins/use-any-font/includes/functions/uaf_font_functions.php(229): uaf_block_editor_custom_fonts()
#2 /home/rswa/public_html/wp-content/plugins/use-any-font/includes/functions/uaf_admin_functions.php(137): uaf_write_css()
#3 /home/rswa/public_html/wp-includes/class-wp-hook.php(308): uaf_plugin_initialize('')
#4 /home/rswa/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#5 /home/rswa/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#6 /home/rswa/public_html/wp-settings.php(617): do_action('init')
#7 /home/rswa/public_html/wp-config.php(76): require_once('/home/rswa/publ...')
#8 /home/rswa/public_html/wp-load.php(50): require_once('/home/rswa/publ...')
#9 /home/rswa/public_html/wp-blog-header.php(13): require_once('/home/rswa/publ...')
#10 /home/rswa/public_html/index.php(17): require('/home/rswa/publ...')
#11 {main}
thrown in /home/rswa/public_html/wp-content/plugins/use-any-font/includes/functions/uaf_block_editor_functions.php on line 62