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.../src/exceptio.../indexabl...
File: not-built-exception.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Yoast\WP\SEO\Exceptions\Indexable;
[2] Fix | Delete
[3] Fix | Delete
/**
[4] Fix | Delete
* Class Not_Built_Exception
[5] Fix | Delete
*/
[6] Fix | Delete
class Not_Built_Exception extends Indexable_Exception {
[7] Fix | Delete
[8] Fix | Delete
/**
[9] Fix | Delete
* Creates an exception that should be thrown when an indexable
[10] Fix | Delete
* was not built because of an invalid object id.
[11] Fix | Delete
*
[12] Fix | Delete
* @param int $object_id The invalid object id.
[13] Fix | Delete
*
[14] Fix | Delete
* @return Not_Built_Exception The exception.
[15] Fix | Delete
*/
[16] Fix | Delete
public static function invalid_object_id( $object_id ) {
[17] Fix | Delete
return new self(
[18] Fix | Delete
"Indexable was not built because it had an invalid object id of $object_id."
[19] Fix | Delete
);
[20] Fix | Delete
}
[21] Fix | Delete
}
[22] Fix | Delete
[23] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function