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/embedpre.../EmbedPre.../Ends/Back/Settings/template...
File: spotify.php
<?php
[0] Fix | Delete
/*
[1] Fix | Delete
* Spotify Settings page template
[2] Fix | Delete
* All undefined vars comes from 'render_settings_page' method
[3] Fix | Delete
* */
[4] Fix | Delete
$settings = get_option( EMBEDPRESS_PLG_NAME.':spotify');
[5] Fix | Delete
$spotify_theme = isset($settings['theme']) ? sanitize_text_field($settings['theme']) : '1';
[6] Fix | Delete
[7] Fix | Delete
?>
[8] Fix | Delete
[9] Fix | Delete
<div class="embedpress__settings background__white radius-25 p40">
[10] Fix | Delete
<h3><?php esc_html_e( "Spotify Settings", "embedpress-pro" ); ?></h3>
[11] Fix | Delete
<div class="embedpress__settings__form">
[12] Fix | Delete
<form action="" method="post" class="embedpress-settings-form" >
[13] Fix | Delete
<?php
[14] Fix | Delete
do_action( 'embedpress_before_spotify_settings_fields');
[15] Fix | Delete
echo $nonce_field ; ?>
[16] Fix | Delete
<div class="form__group">
[17] Fix | Delete
<label class="form__label" for="spotify_theme"><?php esc_html_e( "Player Background Color", "embedpress-pro" ); ?></label>
[18] Fix | Delete
<div class="form__control__wrap">
[19] Fix | Delete
<div class="embedpress__select">
[20] Fix | Delete
<span><i class="ep-icon ep-caret-down"></i></span>
[21] Fix | Delete
<select name="spotify_theme" id="spotify_theme" data-default="<?php echo esc_attr( $spotify_theme ); ?>">
[22] Fix | Delete
<option value="1" <?php selected( '1', $spotify_theme); ?> ><?php esc_html_e( "Dynamic", "embedpress-pro" ); ?></option>
[23] Fix | Delete
<option value="0" <?php selected( '0', $spotify_theme); ?> ><?php esc_html_e( "Black & White", "embedpress-pro" ); ?></option>
[24] Fix | Delete
</select>
[25] Fix | Delete
</div>
[26] Fix | Delete
[27] Fix | Delete
<p><?php printf( esc_html__( "Dynamic option will use the most vibrant color from the album art.", 'embedpress'), '<br>'); ?></p>
[28] Fix | Delete
</div>
[29] Fix | Delete
</div>
[30] Fix | Delete
[31] Fix | Delete
<?php do_action( 'embedpress_after_spotify_settings_fields'); ?>
[32] Fix | Delete
<button class="button button__themeColor radius-10 embedpress-submit-btn" name="submit" value="spotify"><?php esc_html_e( 'Save Changes', 'embedpress'); ?></button>
[33] Fix | Delete
</form>
[34] Fix | Delete
</div>
[35] Fix | Delete
</div>
[36] Fix | Delete
[37] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function