• In WP 5.4 / PHP 7.3.16, the following notice is logged.

    You can check using the Query Monitor plugin, or enable debug logs.

    Notice: Array to string conversion

    wp-content/plugins/selfhost-google-fonts/inc/process.php:416
    array_diff()
    wp-content/plugins/selfhost-google-fonts/inc/process.php:416
    Sphere\SGF\Process->remove_fonts_prefetch()
    wp-includes/class-wp-hook.php:289
    apply_filters('wp_resource_hints')
    wp-includes/general-template.php:3212
    wp_resource_hints()
    wp-includes/class-wp-hook.php:287
    do_action('wp_head')
    wp-includes/general-template.php:2884
    wp_head()
    wp-content/themes/givingpress-lite/header.php:27
    load_template('wp-content/themes/givingpress-lite/header.php')
    wp-includes/template.php:672
    locate_template()
    wp-includes/general-template.php:41
    get_header()
    wp-content/themes/givingpress-lite/page.php:9 
  • The topic ‘Array to string conversion bug’ is closed to new replies.