Deprecated: trim(): Passing null on PHP 8.1

[ad_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.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer