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/advanced.../admin/views/conditio...
File: condition-device.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Template for the Device visitor condition
[2] Fix | Delete
*
[3] Fix | Delete
* @var string $name Form name attribute.
[4] Fix | Delete
* @var string $operator The operator, should be one of `is` or `is_not`.
[5] Fix | Delete
* @var array $type_options Array with additional information.
[6] Fix | Delete
* @var array $options The options for the current condition.
[7] Fix | Delete
* @var int $index The zero-based index for the current condition.
[8] Fix | Delete
*/
[9] Fix | Delete
?>
[10] Fix | Delete
<input type="hidden" name="<?php echo esc_attr( $name ); ?>[type]" value="<?php echo esc_attr( $options['type'] ); ?>"/>
[11] Fix | Delete
[12] Fix | Delete
<div class="advads-conditions-single advads-buttonset">
[13] Fix | Delete
<?php
[14] Fix | Delete
$rand = md5( $name );
[15] Fix | Delete
foreach ( $type_options[ $options['type'] ]['device_types'] as $device_type ) :
[16] Fix | Delete
$input_id = 'advads-visitor-conditions-device-' . $index . '-' . $device_type['id'] . '-' . $rand;
[17] Fix | Delete
?>
[18] Fix | Delete
<label for="<?php echo esc_attr( $input_id ); ?>" class="button advads-button">
[19] Fix | Delete
<?php echo esc_html( $device_type['label'] ); ?>
[20] Fix | Delete
</label>
[21] Fix | Delete
<input type="checkbox" id="<?php echo esc_attr( $input_id ); ?>" name="<?php echo esc_attr( $name ); ?>[value][]" value="<?php echo esc_attr( $device_type['id'] ); ?>" <?php checked( $device_type['checked'] ); ?>>
[22] Fix | Delete
<?php endforeach; ?>
[23] Fix | Delete
<?php include ADVADS_ABSPATH . 'admin/views/conditions/not-selected.php'; ?>
[24] Fix | Delete
</div>
[25] Fix | Delete
<?php
[26] Fix | Delete
printf(
[27] Fix | Delete
'<p class="description"><a href="%1$s" class="advads-manual-link" target="_blank">%2$s</a></p>',
[28] Fix | Delete
esc_url( $type_options[ $options['type'] ]['helplink'] ),
[29] Fix | Delete
esc_html__( 'Manual', 'advanced-ads' )
[30] Fix | Delete
);
[31] Fix | Delete
[32] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function