Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/wordpres.../vendor/yoast/whip/src/Exceptio...
File: EmptyProperty.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Yoast\WHIPv2\Exceptions;
[2] Fix | Delete
[3] Fix | Delete
use Exception;
[4] Fix | Delete
[5] Fix | Delete
/**
[6] Fix | Delete
* Class EmptyProperty.
[7] Fix | Delete
*/
[8] Fix | Delete
class EmptyProperty extends Exception {
[9] Fix | Delete
[10] Fix | Delete
/**
[11] Fix | Delete
* EmptyProperty constructor.
[12] Fix | Delete
*
[13] Fix | Delete
* @param string $property Property name.
[14] Fix | Delete
*/
[15] Fix | Delete
public function __construct( $property ) {
[16] Fix | Delete
parent::__construct( \sprintf( '%s cannot be empty.', (string) $property ) );
[17] Fix | Delete
}
[18] Fix | Delete
}
[19] Fix | Delete
[20] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function