• Resolved Robert

    (@hartlrobert)


    Since PHP 8(.2) there is an error:

    Fatal error: Uncaught TypeError: htmlspecialchars_decode(): Argument #1 ($string) must be of type string, array given in .../wp-content/plugins/user-submitted-posts/library/core-functions.php:315

    Thank You!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Thanks, will add it to the list. Note that technically we’re not supporting PHP 8.2 yet, still testing up to PHP 8.1.

    Plugin Author Jeff Starr

    (@specialk)

    Hey Robert, I am testing on PHP 8.2 and have not been able to replicate this error. Do you know the steps to make it happen? That way I can try to resolve asap. Thank you.

    Thread Starter Robert

    (@hartlrobert)

    I tried again with PHP 8.2, the error is gone. Thank You!

    Now: TDOMF: Bad data submitted.

    Can be my single problem/user topic.

    • This reply was modified 2 years, 10 months ago by Robert.
    Plugin Author Jeff Starr

    (@specialk)

    No problem, thanks for the update. Let me know if I can provide any further information, glad to help anytime.

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

The topic ‘htmlspecialchars_decode – should be string, is array’ is closed to new replies.