: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace YoastSEO_Vendor\Psr\Http\Message;
interface RequestFactoryInterface
* @param string $method The HTTP method associated with the request.
* @param UriInterface|string $uri The URI associated with the request. If
* the value is a string, the factory MUST create a UriInterface
* @return RequestInterface
public function createRequest(string $method, $uri) : \YoastSEO_Vendor\Psr\Http\Message\RequestInterface;