: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
<div class="notice notice-success advads-admin-notice message">
<h2><?php esc_attr_e( '2 Test Ads successfully added!', 'advanced-ads' ); ?></h2>
<p><?php esc_attr_e( 'Look below for the list of created ads.', 'advanced-ads' ); ?></p>
<a href="<?php esc_attr_e( admin_url( 'admin.php?page=advanced-ads-placements' ) ); ?>"><?php esc_attr_e( 'Visit list of placements', 'advanced-ads' ); ?></a>
<?php if ( $last_post_link ) : ?>
<a href="<?php echo esc_url( $last_post_link ); ?>" target="_blank"><?php esc_attr_e( 'See them in action', 'advanced-ads' ); ?></a>