Deprecated: trim(): Passing null on PHP 8.1
-
If you can, please check /src/WpManager.php at line 1209 (Pro v1.7.3) and fix this deprecate.
$home_path = trim( parse_url( home_url(), PHP_URL_PATH ), '/' );
Debug.log info:
PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated...
I don’t know if there aren’t more places that are deprecated in PHP 8.1. Check it out if you can.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Deprecated: trim(): Passing null on PHP 8.1’ is closed to new replies.