• Resolved rkwp

    (@rkwp)


    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 2 years, 8 months ago by rkwp.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    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

    (@rkwp)

    Hi,
    this is the full warning.
    The warnings are at top of the homepage.
    e.g https://grmsv-moers.de

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    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

    (@rkwp)

    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 DaanvandenBergh

    (@daanvandenbergh)

    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

    (@rkwp)

    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

    (@rkwp)

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Thank you for sharing, @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 DaanvandenBergh

    (@daanvandenbergh)

    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.