Skip to:
Content
Pages
Categories
Search
Top
Bottom

uses_utf8 problem

  • @wpweaver

    Participant

    My hosting uses PHP 8.4. I have WP 6.9.4 and latest (which is old) of bbPress.

    I’ve getting the deprecated uses_utf8 message (needs to be wp_is_valid_utf8).

    I fixed it, but I don’t think users should have to do that just because hosts are using new versions of PHP, and that WP 7 is just around the corner.

    Don’t know what other archaic code is in ppbress, but PLEASE fix at least this one.

Viewing 3 replies - 1 through 3 (of 3 total)
  • @neo2k23

    Participant

    same issue here

    deprecated: Function seems_utf8 is deprecated since version 6.9.0! Use wp_is_valid_utf8() instead. in /var/docs/server.tst/public/wp-includes/functions.php on line 6173

    \bbpress\bbpress.2.6.14\bbpress\includes\common\formatting.php line 810 !

    @neo2k23

    Participant

    Just change it to wp_is_valid_utf8 that will make the warning message go away.

    @pentatonicfunk

    Participant
    
    FILE: /bbpress/includes/common/formatting.php
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     810 | WARNING | seems_utf8() has been deprecated since WordPress version 6.9.0. Use wp_is_valid_utf8() instead. (WordPress.WP.DeprecatedFunctions.seems_utf8Found)
     811 | WARNING | Function utf8_encode() is deprecated since PHP 8.2; Use mb_convert_encoding(), UConverter::transcode() or iconv instead (PHPCompatibility.FunctionUse.RemovedFunctions.utf8_encodeDeprecated)
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar