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/wp-conte.../plugins/wordpres.../src/integrat.../third-pa...
File: w3-total-cache.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Yoast\WP\SEO\Integrations\Third_Party;
[2] Fix | Delete
[3] Fix | Delete
use Yoast\WP\SEO\Conditionals\Third_Party\W3_Total_Cache_Conditional;
[4] Fix | Delete
use Yoast\WP\SEO\Integrations\Integration_Interface;
[5] Fix | Delete
[6] Fix | Delete
/**
[7] Fix | Delete
* W3 Total Cache integration.
[8] Fix | Delete
*/
[9] Fix | Delete
class W3_Total_Cache implements Integration_Interface {
[10] Fix | Delete
[11] Fix | Delete
/**
[12] Fix | Delete
* Returns the conditionals based in which this loadable should be active.
[13] Fix | Delete
*
[14] Fix | Delete
* @return array
[15] Fix | Delete
*/
[16] Fix | Delete
public static function get_conditionals() {
[17] Fix | Delete
return [ W3_Total_Cache_Conditional::class ];
[18] Fix | Delete
}
[19] Fix | Delete
[20] Fix | Delete
/**
[21] Fix | Delete
* Initializes the integration.
[22] Fix | Delete
*
[23] Fix | Delete
* On successful update/add of the taxonomy meta option, flush the W3TC cache.
[24] Fix | Delete
*
[25] Fix | Delete
* @return void
[26] Fix | Delete
*/
[27] Fix | Delete
public function register_hooks() {
[28] Fix | Delete
\add_action( 'add_option_wpseo_taxonomy_meta', 'w3tc_objectcache_flush' );
[29] Fix | Delete
\add_action( 'update_option_wpseo_taxonomy_meta', 'w3tc_objectcache_flush' );
[30] Fix | Delete
}
[31] Fix | Delete
}
[32] Fix | Delete
[33] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function