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/wpforms-.../assets/js/frontend
File: wpforms-confirmation.js
// Clear URL - remove wpforms_form_id
[0] Fix | Delete
( function() {
[1] Fix | Delete
var loc = window.location,
[2] Fix | Delete
query = loc.search;
[3] Fix | Delete
[4] Fix | Delete
if ( query.indexOf( 'wpforms_form_id=' ) !== -1 ) {
[5] Fix | Delete
query = query.replace( /([&?]wpforms_form_id=[0-9]*$|wpforms_form_id=[0-9]*&|[?&]wpforms_form_id=[0-9]*(?=#))/, '' );
[6] Fix | Delete
history.replaceState( {}, null, loc.origin + loc.pathname + query );
[7] Fix | Delete
}
[8] Fix | Delete
}() );
[9] Fix | Delete
[10] Fix | Delete
( function( $ ) {
[11] Fix | Delete
$( function() {
[12] Fix | Delete
if ( $( 'div.wpforms-confirmation-scroll' ).length ) {
[13] Fix | Delete
$( 'html,body' ).animate(
[14] Fix | Delete
{ scrollTop: ( $( 'div.wpforms-confirmation-scroll' ).offset().top ) - 100 },
[15] Fix | Delete
1000
[16] Fix | Delete
);
[17] Fix | Delete
}
[18] Fix | Delete
} );
[19] Fix | Delete
}( jQuery ) );
[20] Fix | Delete
[21] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function