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.../public_h.../wp-conte.../plugins/wordpres.../src/initiali...
File: woocommerce.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Yoast\WP\SEO\Initializers;
[2] Fix | Delete
[3] Fix | Delete
use Automattic\WooCommerce\Utilities\FeaturesUtil;
[4] Fix | Delete
use Yoast\WP\SEO\Conditionals\No_Conditionals;
[5] Fix | Delete
[6] Fix | Delete
/**
[7] Fix | Delete
* Declares compatibility with the WooCommerce HPOS feature.
[8] Fix | Delete
*/
[9] Fix | Delete
class Woocommerce implements Initializer_Interface {
[10] Fix | Delete
[11] Fix | Delete
use No_Conditionals;
[12] Fix | Delete
[13] Fix | Delete
/**
[14] Fix | Delete
* Hooks into WooCommerce.
[15] Fix | Delete
*
[16] Fix | Delete
* @return void
[17] Fix | Delete
*/
[18] Fix | Delete
public function initialize() {
[19] Fix | Delete
\add_action( 'before_woocommerce_init', [ $this, 'declare_custom_order_tables_compatibility' ] );
[20] Fix | Delete
}
[21] Fix | Delete
[22] Fix | Delete
/**
[23] Fix | Delete
* Declares compatibility with the WooCommerce HPOS feature.
[24] Fix | Delete
*
[25] Fix | Delete
* @return void
[26] Fix | Delete
*/
[27] Fix | Delete
public function declare_custom_order_tables_compatibility() {
[28] Fix | Delete
if ( \class_exists( FeaturesUtil::class ) ) {
[29] Fix | Delete
FeaturesUtil::declare_compatibility( 'custom_order_tables', \WPSEO_FILE, true );
[30] Fix | Delete
}
[31] Fix | Delete
}
[32] Fix | Delete
}
[33] Fix | Delete
[34] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function