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.../assets/js/lib
File: feature-scripts.js
/**
[0] Fix | Delete
* cacheMode should be 1 or 0
[1] Fix | Delete
*
[2] Fix | Delete
* @param {int} cacheMode
[3] Fix | Delete
*/
[4] Fix | Delete
function ninja_forms_update_cache_mode( cacheMode ) {
[5] Fix | Delete
var data = {
[6] Fix | Delete
'action': 'nf_update_cache_mode',
[7] Fix | Delete
'security': nfAdmin.ajaxNonce,
[8] Fix | Delete
'cache_mode': cacheMode
[9] Fix | Delete
};
[10] Fix | Delete
[11] Fix | Delete
// since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
[12] Fix | Delete
jQuery.post(ajaxurl, data, function(response) {
[13] Fix | Delete
var data = JSON.parse(response);
[14] Fix | Delete
console.log(data);
[15] Fix | Delete
});
[16] Fix | Delete
}
[17] Fix | Delete
[18] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function