: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace Yoast\WP\SEO\Exceptions\OAuth\Tokens;
* Class Empty_Property_Exception
class Empty_Property_Exception extends Exception {
* Empty_Property_Exception constructor.
* @param string $property The property that is empty.
public function __construct( $property ) {
parent::__construct( \sprintf( 'Token creation failed. Property `%s` cannot be empty.', $property ), 400 );