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/sitepres.../compatib...
File: wpml-compatibility-factory.php
<?php
[0] Fix | Delete
[1] Fix | Delete
/**
[2] Fix | Delete
* Class WPML_Compatibility_Factory
[3] Fix | Delete
*/
[4] Fix | Delete
class WPML_Compatibility_Factory implements IWPML_Frontend_Action_Loader, IWPML_Backend_Action_Loader {
[5] Fix | Delete
[6] Fix | Delete
/**
[7] Fix | Delete
* Create array of compatibility objects.
[8] Fix | Delete
*
[9] Fix | Delete
* @return array
[10] Fix | Delete
*/
[11] Fix | Delete
public function create() {
[12] Fix | Delete
$hooks = array();
[13] Fix | Delete
[14] Fix | Delete
$hooks['gutenberg'] = new WPML_Compatibility_Gutenberg( new WPML_WP_API() );
[15] Fix | Delete
[16] Fix | Delete
$hooks['jetpack'] = new WPML_Compatibility_Jetpack();
[17] Fix | Delete
[18] Fix | Delete
if ( defined( 'ELEMENTOR_VERSION' ) ) {
[19] Fix | Delete
$hooks['elementor'] = new WPML_PB_Fix_Maintenance_Query();
[20] Fix | Delete
}
[21] Fix | Delete
[22] Fix | Delete
return $hooks;
[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