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

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/leadin/scripts/elemento.../Common
File: ConnectPluginBanner.tsx
import React from 'react';
[0] Fix | Delete
import ElementorBanner from './ElementorBanner';
[1] Fix | Delete
import { __ } from '@wordpress/i18n';
[2] Fix | Delete
[3] Fix | Delete
export default function ConnectPluginBanner() {
[4] Fix | Delete
return (
[5] Fix | Delete
<ElementorBanner>
[6] Fix | Delete
<b
[7] Fix | Delete
dangerouslySetInnerHTML={{
[8] Fix | Delete
__html: __(
[9] Fix | Delete
'The HubSpot plugin is not connected right now To use HubSpot tools on your WordPress site, %1$sconnect the plugin now%2$s'
[10] Fix | Delete
)
[11] Fix | Delete
.replace(
[12] Fix | Delete
'%1$s',
[13] Fix | Delete
'<a class="leadin-banner__link" href="admin.php?page=leadin&bannerClick=true">'
[14] Fix | Delete
)
[15] Fix | Delete
.replace('%2$s', '</a>'),
[16] Fix | Delete
}}
[17] Fix | Delete
></b>
[18] Fix | Delete
</ElementorBanner>
[19] Fix | Delete
);
[20] Fix | Delete
}
[21] Fix | Delete
[22] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function