: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* Single Payment page - Advanced details template.
* @var array $details_list Details list.
if ( ! defined( 'ABSPATH' ) ) {
<div id="wpforms-payment-advanced-info" class="postbox">
<div class="postbox-header">
<span><?php echo esc_html__( 'Advanced Details', 'wpforms-lite' ); ?></span>
foreach ( $details_list as $item ) :
<div class="wpforms-payment-advanced-item" >
<p class="wpforms-payment-advanced-item-label">
<?php echo esc_html( $item['label'] ); ?>
<div class="wpforms-payment-advanced-item-value">
<?php if ( isset( $item['link'] ) ) : ?>
<a href="<?php echo esc_url( $item['link'] ); ?>" target="_blank" rel="noopener noreferrer" class="wpforms-link">
<?php echo wp_kses_post( nl2br( make_clickable( $item['value'] ) ) ); ?>
<?php if ( isset( $item['link'] ) ) : ?>