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/wp-conte.../plugins/flow-flo.../includes
File: FlowFlowUpdater.php
<?php namespace flow;
[0] Fix | Delete
use la\core\LARemoteUpdater;
[1] Fix | Delete
[2] Fix | Delete
if ( ! defined( 'WPINC' ) ) die;
[3] Fix | Delete
/**
[4] Fix | Delete
* FlowFlow.
[5] Fix | Delete
*
[6] Fix | Delete
* @package FlowFlow
[7] Fix | Delete
* @author Looks Awesome <email@looks-awesome.com>
[8] Fix | Delete
*
[9] Fix | Delete
* @link http://looks-awesome.com
[10] Fix | Delete
* @copyright Looks Awesome
[11] Fix | Delete
*/
[12] Fix | Delete
class FlowFlowUpdater extends LARemoteUpdater{
[13] Fix | Delete
[14] Fix | Delete
protected function getUrlToPluginMetafileJson(){
[15] Fix | Delete
return 'http://flow.looks-awesome.com/service/update/flow-flow.json';
[16] Fix | Delete
}
[17] Fix | Delete
[18] Fix | Delete
protected function getPluginWithNewVersion($info){
[19] Fix | Delete
$plugin = [];
[20] Fix | Delete
$plugin['url'] = $info->plugin["url"];
[21] Fix | Delete
$plugin['slug'] = 'flow-flow';
[22] Fix | Delete
$plugin['new_version'] = $info->plugin['version'];
[23] Fix | Delete
$plugin['plugin'] = 'flow-flow/flow-flow.php';
[24] Fix | Delete
if (isset($info->plugin['download_url'])) $plugin['package'] = $info->plugin['download_url'];
[25] Fix | Delete
return (object) $plugin;
[26] Fix | Delete
}
[27] Fix | Delete
}
[28] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function