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/popup-bu.../public/views
File: importPopupsView.php
<?php
[0] Fix | Delete
/* Exit if accessed directly */
[1] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[2] Fix | Delete
exit;
[3] Fix | Delete
}
[4] Fix | Delete
use sgpb\AdminHelper;
[5] Fix | Delete
$defaultData = SGPBConfigDataHelper::defaultData();
[6] Fix | Delete
[7] Fix | Delete
$deleteData = '';
[8] Fix | Delete
if (get_option('sgpb-dont-delete-data')) {
[9] Fix | Delete
$deleteData = 'checked';
[10] Fix | Delete
}
[11] Fix | Delete
[12] Fix | Delete
$userSavedRoles = get_option('sgpb-user-roles');
[13] Fix | Delete
?>
[14] Fix | Delete
<div class="sgpb sgpb-wrapper">
[15] Fix | Delete
<div class="sgpb-import-popups">
[16] Fix | Delete
<h3 class="sgpb-header-h3">
[17] Fix | Delete
<span><?php esc_html_e('Import popups', 'popup-builder'); ?></span>
[18] Fix | Delete
</h3>
[19] Fix | Delete
<div class="sgpb-import-popups-form">
[20] Fix | Delete
<?php
[21] Fix | Delete
wp_import_upload_form('admin.php?import='.SG_POPUP_POST_TYPE.'&amp;step=1');
[22] Fix | Delete
?>
[23] Fix | Delete
</div>
[24] Fix | Delete
</div>
[25] Fix | Delete
</div>
[26] Fix | Delete
<style>
[27] Fix | Delete
.sgpb .sgpb-import-popups .sgpb-import-popups-form p,
[28] Fix | Delete
.sgpb .sgpb-import-popups .sgpb-import-popups-form input[type="file"] {
[29] Fix | Delete
margin: 20px 0;
[30] Fix | Delete
}
[31] Fix | Delete
.sgpb .sgpb-import-popups .sgpb-import-popups-form p.submit {
[32] Fix | Delete
display: none;
[33] Fix | Delete
}
[34] Fix | Delete
</style>
[35] Fix | Delete
[36] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function