• Hi there,

    got a huge amount of erros in my debug.log from wordpress with wp-appbox

    PHP Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /www/htdocs/******/******/blog/wp-content/plugins/wp-appbox/inc/createoutput.class.php on line 670

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marcelismus

    (@marcelismus)

    Please check 4.4.17. (Slight fix for PHP 8.1, I don’t think it will be fully compatible).

    Thread Starter Snakeman

    (@snakeman)

    after the update I got the following errors in the debug:

    [19-Jan-2024 14:55:43 UTC] PHP Deprecated: unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in /www/htdocs/blog/wp-content/plugins/wp-appbox/inc/getappinfo.class.php on line 341
    [19-Jan-2024 14:55:43 UTC] PHP Warning: Undefined array key “style” in /www/blog/wp-content/plugins/wp-appbox/wp-appbox.php on line 701
    [19-Jan-2024 14:55:43 UTC] PHP Warning: Undefined array key “style” in /www/htdocs//blog/wp-content/plugins/wp-appbox/wp-appbox.php on line 701
    [19-Jan-2024 14:55:43 UTC] PHP Deprecated: unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in /www/htdocs//blog/wp-content/plugins/wp-appbox/inc/getappinfo.class.php on line 341
    [19-Jan-2024 14:55:49 UTC] PHP Deprecated: unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in /www/htdocs//blog/wp-content/plugins/wp-appbox/inc/getappinfo.class.php on line 341
    [19-Jan-2024 14:55:56 UTC] PHP Deprecated: unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in /www/htdocs//blog/wp-content/plugins/wp-appbox/inc/getappinfo.class.php on line 341

    Plugin Author Marcelismus

    (@marcelismus)

    PHP 8.1 deprecates these calls, it does not make them errors.

    I’ll have a look, PHP 8.1 has deprecated passing null as parameters to a lot of core functions. However, this will not happen in the short term for private reasons.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Deprecated: str_replace()’ is closed to new replies.