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

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/wordfenc.../waf
File: bootstrap.php
}
[1000] Fix | Delete
}
[1001] Fix | Delete
[1002] Fix | Delete
wfWAFI18n::setInstance(new wfWAFI18n(new wfWAFWordPressI18n($wfWAFStorageEngine)));
[1003] Fix | Delete
[1004] Fix | Delete
try {
[1005] Fix | Delete
wfWAF::getInstance()->run();
[1006] Fix | Delete
} catch (wfWAFBuildRulesException $e) {
[1007] Fix | Delete
// Log this
[1008] Fix | Delete
error_log($e->getMessage());
[1009] Fix | Delete
}
[1010] Fix | Delete
[1011] Fix | Delete
} catch (wfWAFStorageFileConfigException $e) {
[1012] Fix | Delete
// Let this request through for now
[1013] Fix | Delete
error_log($e->getMessage());
[1014] Fix | Delete
[1015] Fix | Delete
} catch (wfWAFStorageEngineMySQLiException $e) {
[1016] Fix | Delete
// Let this request through for now
[1017] Fix | Delete
error_log($e->getMessage());
[1018] Fix | Delete
[1019] Fix | Delete
} catch (wfWAFStorageFileException $e) {
[1020] Fix | Delete
// We need to choose another storage engine here.
[1021] Fix | Delete
}
[1022] Fix | Delete
[1023] Fix | Delete
}
[1024] Fix | Delete
catch (Exception $e) { // In PHP 5, Throwable does not exist
[1025] Fix | Delete
error_log("An unexpected exception occurred during WAF execution: {$e}");
[1026] Fix | Delete
$wf_waf_failure = array(
[1027] Fix | Delete
'throwable' => $e
[1028] Fix | Delete
);
[1029] Fix | Delete
}
[1030] Fix | Delete
catch (Throwable $t) {
[1031] Fix | Delete
error_log("An unexpected exception occurred during WAF execution: {$t}");
[1032] Fix | Delete
if (class_exists('ParseError') && $t instanceof ParseError) {
[1033] Fix | Delete
//Do nothing
[1034] Fix | Delete
}
[1035] Fix | Delete
else {
[1036] Fix | Delete
$wf_waf_failure = array(
[1037] Fix | Delete
'throwable' => $t
[1038] Fix | Delete
);
[1039] Fix | Delete
}
[1040] Fix | Delete
}
[1041] Fix | Delete
if (wfWAF::getInstance() === null) {
[1042] Fix | Delete
require_once __DIR__ . '/dummy.php';
[1043] Fix | Delete
wfWAF::setInstance(new wfDummyWaf());
[1044] Fix | Delete
}
[1045] Fix | Delete
define('WFWAF_RUN_COMPLETE', true);
[1046] Fix | Delete
}
[1047] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function