Got a critical error when trying to add a google font
-
WordPress version 6.2
Active theme: 223child (version 0.0.1)
Current plugin: Create Block Theme (version 1.9.0)
PHP version 8.1.18Error Details
=============
An error of type E_ERROR was caused in line 336 of the file /home/jmm/public_html/wp-content/plugins/create-block-theme/admin/class-manage-fonts.php. Error message: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /home/jmm/public_html/wp-content/plugins/create-block-theme/admin/class-manage-fonts.php:336
Stack trace:
#0 /home/jmm/public_html/wp-content/plugins/create-block-theme/admin/class-manage-fonts.php(244): Manage_Fonts_Admin->manage_font_license(‘Mulish’, ‘mulish_normal_8…’)
#1 /home/jmm/public_html/wp-includes/class-wp-hook.php(308): Manage_Fonts_Admin->save_google_fonts_to_theme(”)
#2 /home/jmm/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#3 /home/jmm/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#4 /home/jmm/public_html/wp-admin/admin.php(175): do_action(‘admin_init’)
#5 /home/jmm/public_html/wp-admin/themes.php(10): require_once(‘/home/jmm/publi…’)
#6 {main}
thrown
- The topic ‘Got a critical error when trying to add a google font’ is closed to new replies.