: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace YoastSEO_Vendor\Psr\Http\Message;
interface ResponseFactoryInterface
* @param int $code HTTP status code; defaults to 200
* @param string $reasonPhrase Reason phrase to associate with status code
* in generated response; if none is provided implementations MAY use
* the defaults as suggested in the HTTP specification.
* @return ResponseInterface
public function createResponse(int $code = 200, string $reasonPhrase = '') : \YoastSEO_Vendor\Psr\Http\Message\ResponseInterface;