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/smart-sl.../Nextend/Framewor.../Form/Element/Radio
File: AbstractRadioIcon.php
<?php
[0] Fix | Delete
[1] Fix | Delete
[2] Fix | Delete
namespace Nextend\Framework\Form\Element\Radio;
[3] Fix | Delete
[4] Fix | Delete
[5] Fix | Delete
use Nextend\Framework\Form\Element\Radio;
[6] Fix | Delete
use Nextend\Framework\View\Html;
[7] Fix | Delete
[8] Fix | Delete
abstract class AbstractRadioIcon extends Radio {
[9] Fix | Delete
[10] Fix | Delete
protected $class = 'n2_field_radio_icon';
[11] Fix | Delete
[12] Fix | Delete
protected function renderOptions() {
[13] Fix | Delete
[14] Fix | Delete
$html = '';
[15] Fix | Delete
$i = 0;
[16] Fix | Delete
foreach ($this->options as $value => $class) {
[17] Fix | Delete
[18] Fix | Delete
$html .= Html::tag('div', array(
[19] Fix | Delete
'class' => 'n2_field_radio__option' . ($this->isSelected($value) ? ' n2_field_radio__option--selected' : '')
[20] Fix | Delete
), Html::tag('i', array('class' => $class)));
[21] Fix | Delete
$i++;
[22] Fix | Delete
}
[23] Fix | Delete
[24] Fix | Delete
return $html;
[25] Fix | Delete
}
[26] Fix | Delete
}
[27] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function