Title: Warnings Array to string conversion
Last modified: July 20, 2022

---

# Warnings Array to string conversion

 *  Resolved [rkwp](https://wordpress.org/support/users/rkwp/)
 * (@rkwp)
 * [4 years ago](https://wordpress.org/support/topic/warnings-array-to-string-conversion/)
 * Hi,
    since latest update i get Warnings on several Websites. Array to string 
   conversion …/wp-includes/formatting.php on line 1098 I hope you can fix it.
    -  This topic was modified 4 years ago by [rkwp](https://wordpress.org/support/users/rkwp/).

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [4 years ago](https://wordpress.org/support/topic/warnings-array-to-string-conversion/#post-15843302)
 * Can you share the full error message? Because that’ll include the line and file
   of OMGF where this warning is thrown.
 *  Thread Starter [rkwp](https://wordpress.org/support/users/rkwp/)
 * (@rkwp)
 * [4 years ago](https://wordpress.org/support/topic/warnings-array-to-string-conversion/#post-15843333)
 * Hi,
    this is the full warning. The warnings are at top of the homepage. e.g [https://grmsv-moers.de](https://grmsv-moers.de)
 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [4 years ago](https://wordpress.org/support/topic/warnings-array-to-string-conversion/#post-15843363)
 * Ah, okay. In that case you have debug mode enabled, which should always be disabled
   on a production site. For security reasons.
 * Anyway, your PHP error log should contain more information about the error. Please
   check it out and share it here.
 *  Thread Starter [rkwp](https://wordpress.org/support/users/rkwp/)
 * (@rkwp)
 * [4 years ago](https://wordpress.org/support/topic/warnings-array-to-string-conversion/#post-15843458)
 * I don’t have access to PHP Error log on the shared server.
    PHP Version is 8.0
   WP Version 6.0.1
 * But my site updeted OMGF from 5.2.2 to 5.3.2.
 * Rollback to 5.2.2 or deactivate OMGF resolved the issue.
 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [4 years ago](https://wordpress.org/support/topic/warnings-array-to-string-conversion/#post-15843510)
 * Okay, no problem. Would it be possible for you to share screenshots of your settings
   in OMGF that might make it possible for me to replicate the issue. You don’t 
   have to update again. Settings of 5.2.2 is fine.
 *  Thread Starter [rkwp](https://wordpress.org/support/users/rkwp/)
 * (@rkwp)
 * [4 years ago](https://wordpress.org/support/topic/warnings-array-to-string-conversion/#post-15843665)
 * Sorry, i don’t have access to the Backend
    Warning: Array to string conversion
   in …/wp-includes/formatting.php on line 1098 Warning: Array to string conversion
   in …/wp-includes/formatting.php on line 1098 Warning: Array to string conversion
   in …/wp-includes/formatting.php on line 1098 Warning: Cannot modify header information–
   headers already sent by (output started at …/wp-includes/formatting.php:1098)
   in …/wp-includes/pluggable.php on line 1421 Warning: Cannot modify header information–
   headers already sent by (output started at …/wp-includes/formatting.php:1098)
   in …/wp-includes/pluggable.php on line 1424`
 * So on this site i need to deactivate OMGF via sftp
 * On another site i have access to backend, but how can i include .pdf in this 
   post?
 *  Thread Starter [rkwp](https://wordpress.org/support/users/rkwp/)
 * (@rkwp)
 * [4 years ago](https://wordpress.org/support/topic/warnings-array-to-string-conversion/#post-15843735)
 * Here you go
    [https://magentacloud.de/s/L3a5RPFttcf8Srp](https://magentacloud.de/s/L3a5RPFttcf8Srp)
 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [4 years ago](https://wordpress.org/support/topic/warnings-array-to-string-conversion/#post-15843762)
 * Thank you for sharing, [@rkwp](https://wordpress.org/support/users/rkwp/). Same
   goes for you, what happens if you set the Used Subset(s) option?
 * You could first enable Test Mode, then update. At this point you’ll see the warnings,
   but your visitors don’t. Then set the Used Subset(s) option to the subsets your
   site uses, e.g. for Germany, Latin and Latin Extended is recommended, due to 
   the ß, etc.
 * Let me know how it goes!
 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [4 years ago](https://wordpress.org/support/topic/warnings-array-to-string-conversion/#post-15843802)
 * Alright. Thanks!
 * Apparently the defaults I’m setting aren’t getting through in some cases. I’m
   having a hard time replicating this issue, but I’ll investigate it. Thanks for
   your patience!
 * To anyone else reading this: setting the Used Subset(s) option gets rid of the
   Array to String conversion warning.
 * Thanks again.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Warnings Array to string conversion’ is closed to new replies.

 * ![](https://ps.w.org/host-webfonts-local/assets/icon-256x256.png?rev=3300821)
 * [OMGF | GDPR/DSGVO Compliant, Faster Google Fonts. Easy.](https://wordpress.org/plugins/host-webfonts-local/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/host-webfonts-local/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/host-webfonts-local/)
 * [Active Topics](https://wordpress.org/support/plugin/host-webfonts-local/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/host-webfonts-local/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/host-webfonts-local/reviews/)

 * 9 replies
 * 4 participants
 * Last reply from: [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/warnings-array-to-string-conversion/#post-15843802)
 * Status: resolved