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: license.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
?>
[5] Fix | Delete
<div class="sgpb sgpb-wrapper sgpb-padding-30">
[6] Fix | Delete
<span class="sgpb-header-h1">License</span>
[7] Fix | Delete
<div class="formItem">
[8] Fix | Delete
<?php
[9] Fix | Delete
$licenses = $this->getLicenses();
[10] Fix | Delete
$licenseCount = 0;
[11] Fix | Delete
foreach ( $licenses as $currentLicense ) : ?>
[12] Fix | Delete
<?php
[13] Fix | Delete
$key = $currentLicense['key'];
[14] Fix | Delete
$license = get_option( 'sgpb-license-key-' . $key );
[15] Fix | Delete
$status = get_option( 'sgpb-license-status-' . $key );
[16] Fix | Delete
?>
[17] Fix | Delete
<div class="sgpb-license sgpb-license-block sgpb-padding-20 sgpb-margin-bottom-30 sgpb-position-relative">
[18] Fix | Delete
<div class="sgpb-license-border <?php echo ( $status !== false && $status == 'valid' ) ? 'active' : 'inactive' ?>"></div>
[19] Fix | Delete
<h2 class="formItem__title sgpb-margin-top-10 sgpb-margin-bottom-30"><?php echo esc_html($currentLicense['boxLabel']) ?></h2>
[20] Fix | Delete
<div class="sgpb-license__status">
[21] Fix | Delete
<?php if ( $status !== false && $status == 'valid' ): ?>
[22] Fix | Delete
<div class="active"></div>
[23] Fix | Delete
Active
[24] Fix | Delete
<?php else: ?>
[25] Fix | Delete
<div class="inactive"></div>
[26] Fix | Delete
Inactive
[27] Fix | Delete
<?php endif; ?>
[28] Fix | Delete
</div>
[29] Fix | Delete
<div class="licenseKey__form sgpb-margin-top-10 sgpb-margin-bottom-30 sgpb-align-item-center sgpb-display-flex">
[30] Fix | Delete
<span class="sgpb-width-20"><?php esc_html_e( 'License Key', 'popup-builder' ); ?></span>
[31] Fix | Delete
<form method="post" action="options.php" class="sgpb-width-80 sgpb-display-inline-flex">
[32] Fix | Delete
<input id="<?php echo esc_attr('sgpb-license-key-' . $key) ?>" type="text" class="sgpb-width-100"
[33] Fix | Delete
value="<?php echo esc_attr( $license ); ?>"
[34] Fix | Delete
name="<?php echo esc_attr('sgpb-license-key-' . $key ) ?>">
[35] Fix | Delete
<?php if ( $status !== false && $status == 'valid' ): ?>
[36] Fix | Delete
<?php wp_nonce_field( 'sgpb_nonce', 'sgpb_nonce' ); ?>
[37] Fix | Delete
<input type="submit" class="sgpb-btn sgpb-btn-blue"
[38] Fix | Delete
name="<?php echo esc_attr('sgpb-license-deactivate' . $key ); ?>"
[39] Fix | Delete
value="<?php esc_html_e( 'Deactivate', 'popup-builder' ); ?>">
[40] Fix | Delete
<?php else: ?>
[41] Fix | Delete
<?php wp_nonce_field( 'sgpb_nonce', 'sgpb_nonce' ); ?>
[42] Fix | Delete
<input type="submit" class="sgpb-btn sgpb-btn-blue"
[43] Fix | Delete
name="<?php echo esc_attr('sgpb-license-activate-' . $key ); ?>"
[44] Fix | Delete
value="<?php esc_html_e( 'Activate', 'popup-builder' ); ?>">
[45] Fix | Delete
<?php endif; ?>
[46] Fix | Delete
</form>
[47] Fix | Delete
</div>
[48] Fix | Delete
</div>
[49] Fix | Delete
<?php endforeach; ?>
[50] Fix | Delete
</div>
[51] Fix | Delete
</div>
[52] Fix | Delete
[53] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function