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/wp-conte.../plugins/flow-flo.../libs/flowflow/core/src/cache
File: LACacheManager.php
if (isset($feed->feed->mod)){
[500] Fix | Delete
return LASettingsUtils::YepNope2ClassicStyle($feed->feed->mod, false);
[501] Fix | Delete
}
[502] Fix | Delete
return false;
[503] Fix | Delete
}
[504] Fix | Delete
[505] Fix | Delete
private function removeOldRecords() {
[506] Fix | Delete
$settings = $this->db->getGeneralSettings();
[507] Fix | Delete
$this->db->removeOldRecords($settings->getCountOfPostsByFeed());
[508] Fix | Delete
}
[509] Fix | Delete
[510] Fix | Delete
private function prepareText( $text ) {
[511] Fix | Delete
$text = str_replace("\r\n", "<br>", $text);
[512] Fix | Delete
$text = str_replace("\n", "<br>", $text);
[513] Fix | Delete
$text = trim($text);
[514] Fix | Delete
return @$this->db->conn()->getMySQLi()->real_escape_string($text);
[515] Fix | Delete
}
[516] Fix | Delete
[517] Fix | Delete
private function serializeErrors($errors){
[518] Fix | Delete
foreach ( $errors as &$error ) {
[519] Fix | Delete
if (isset($error['url'])){
[520] Fix | Delete
$error['url'] = $this->prepareString4Serialize($error['url']);
[521] Fix | Delete
}
[522] Fix | Delete
if (isset($error['message'])){
[523] Fix | Delete
$error['message'] = $this->prepareString4Serialize($error['message']);
[524] Fix | Delete
}
[525] Fix | Delete
}
[526] Fix | Delete
return serialize($errors);
[527] Fix | Delete
}
[528] Fix | Delete
[529] Fix | Delete
private function prepareString4Serialize( $str ) {
[530] Fix | Delete
$str = str_replace('?n', '%3fn', $str);
[531] Fix | Delete
$str = str_replace('?s', '%3fs', $str);
[532] Fix | Delete
$str = str_replace('?i', '%3fi', $str);
[533] Fix | Delete
$str = str_replace('?u', '%3fu', $str);
[534] Fix | Delete
$str = str_replace('?a', '%3fa', $str);
[535] Fix | Delete
$str = str_replace('?p', '%3fp', $str);
[536] Fix | Delete
return $str;
[537] Fix | Delete
}
[538] Fix | Delete
}
[539] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function