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/ninja-fo.../src/params
File: globalParams.js
const forms =
[0] Fix | Delete
typeof window.nf_submissions.forms !== 'undefined'
[1] Fix | Delete
? window.nf_submissions.forms
[2] Fix | Delete
: {};
[3] Fix | Delete
const dateFormat =
[4] Fix | Delete
typeof window.nf_submissions.dateFormat !== 'undefined'
[5] Fix | Delete
? window.nf_submissions.dateFormat
[6] Fix | Delete
: '';
[7] Fix | Delete
const timeFormat =
[8] Fix | Delete
typeof window.nf_submissions.timeFormat !== 'undefined'
[9] Fix | Delete
? window.nf_submissions.timeFormat
[10] Fix | Delete
: '';
[11] Fix | Delete
const siteUrl =
[12] Fix | Delete
typeof window.nf_submissions.siteUrl !== 'undefined'
[13] Fix | Delete
? window.nf_submissions.siteUrl
[14] Fix | Delete
: '';
[15] Fix | Delete
const adminUrl =
[16] Fix | Delete
typeof window.nf_submissions.adminUrl !== 'undefined'
[17] Fix | Delete
? window.nf_submissions.adminUrl
[18] Fix | Delete
: '';
[19] Fix | Delete
const restUrl =
[20] Fix | Delete
typeof window.nf_submissions.restUrl !== 'undefined'
[21] Fix | Delete
? window.nf_submissions.restUrl
[22] Fix | Delete
: '';
[23] Fix | Delete
const token =
[24] Fix | Delete
typeof window.nf_submissions.token !== 'undefined'
[25] Fix | Delete
? window.nf_submissions.token
[26] Fix | Delete
: '';
[27] Fix | Delete
//Remove Empty Forms
[28] Fix | Delete
for ( const form in forms ) {
[29] Fix | Delete
if ( Object.keys( forms[ form ] ).length === 0 ) {
[30] Fix | Delete
delete forms[ form ];
[31] Fix | Delete
}
[32] Fix | Delete
}
[33] Fix | Delete
//TriggerEmailActions Params
[34] Fix | Delete
export const globalParams = {
[35] Fix | Delete
siteUrl,
[36] Fix | Delete
adminUrl,
[37] Fix | Delete
restUrl,
[38] Fix | Delete
token,
[39] Fix | Delete
forms,
[40] Fix | Delete
timeFormat,
[41] Fix | Delete
dateFormat,
[42] Fix | Delete
};
[43] Fix | Delete
[44] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function