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/accelera.../template...
File: report-bugs.php
<?php
[0] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[1] Fix | Delete
exit;
[2] Fix | Delete
}
[3] Fix | Delete
if ( ! function_exists( 'ampforwp_reporting_bugs' ) ) {
[4] Fix | Delete
function ampforwp_reporting_bugs($sections){
[5] Fix | Delete
[6] Fix | Delete
$sections[] = array(
[7] Fix | Delete
'title' => esc_html__( 'Send Feedback', 'accelerated-mobile-pages' ),
[8] Fix | Delete
// 'id' => 'opt-structured-data',
[9] Fix | Delete
// 'subsection' => true,
[10] Fix | Delete
'icon' => 'el el-group',
[11] Fix | Delete
'desc' => '<p><strong>' . esc_html__("We need your help in improving this plugin!", "accelerated-mobile-pages") . '</strong></p>
[12] Fix | Delete
<p>' . esc_html__("We take every issue and bug report very seriously. Me and my team personally goes through your feedback and works hard on solving them.", "accelerated-mobile-pages") . '</p>
[13] Fix | Delete
<p>' . sprintf( __("<a href=\"%s\" style=\"background: #E91E63; padding: 10px 16px; text-decoration: none; color: #fff; margin-top: 10px; display: inline-block; font-size: 16px; border-radius: 3px;\" target=\"_blank\">Report an Error</a> <a href=\"%s\" style=\"background: #4CAF50; padding: 10px 16px; text-decoration: none; margin-left:9px; color: #fff; margin-top: 10px; display: inline-block; font-size: 16px; border-radius: 3px;\" target=\"_blank\">Request a Feature</a>", "accelerated-mobile-pages" ), "https://ampforwp.com/support/", "https://ampforwp.com/support/" ) . '</p>
[14] Fix | Delete
<br />'
[15] Fix | Delete
);
[16] Fix | Delete
[17] Fix | Delete
return $sections;
[18] Fix | Delete
}
[19] Fix | Delete
}
[20] Fix | Delete
?>
[21] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function