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: invalid-term-exception.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Yoast\WP\SEO\Exceptions\Indexable;
[2] Fix | Delete
[3] Fix | Delete
/**
[4] Fix | Delete
* Exception that can be thrown whenever a term is considered invalid by WordPress
[5] Fix | Delete
* within the context of the indexables.
[6] Fix | Delete
*/
[7] Fix | Delete
class Invalid_Term_Exception extends Source_Exception {
[8] Fix | Delete
[9] Fix | Delete
/**
[10] Fix | Delete
* Exception that can be thrown whenever a term is considered invalid by WordPress
[11] Fix | Delete
* within the context of the indexables.
[12] Fix | Delete
*
[13] Fix | Delete
* @param string $reason The reason given by WordPress why the term is invalid.
[14] Fix | Delete
*/
[15] Fix | Delete
public function __construct( $reason ) {
[16] Fix | Delete
parent::__construct(
[17] Fix | Delete
\sprintf(
[18] Fix | Delete
/* translators: %s is the reason given by WordPress. */
[19] Fix | Delete
\esc_html__( 'The term is considered invalid. The following reason was given by WordPress: %s', 'wordpress-seo' ),
[20] Fix | Delete
$reason
[21] Fix | Delete
)
[22] Fix | Delete
);
[23] Fix | Delete
}
[24] Fix | Delete
}
[25] Fix | Delete
[26] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function