Title: Array to string conversion bug
Last modified: April 4, 2020

---

# Array to string conversion bug

 *  [toxicum](https://wordpress.org/support/users/toxicum/)
 * (@toxicum)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/array-to-string-conversion-bug/)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/selfhost-google-fonts.svg)
 * [Self-Hosted Google Fonts](https://wordpress.org/plugins/selfhost-google-fonts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/selfhost-google-fonts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/selfhost-google-fonts/)
 * [Active Topics](https://wordpress.org/support/plugin/selfhost-google-fonts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/selfhost-google-fonts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/selfhost-google-fonts/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [toxicum](https://wordpress.org/support/users/toxicum/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/array-to-string-conversion-bug/)
 * Status: not resolved