: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace Nextend\Framework\Form\Element;
use Nextend\Framework\Form\AbstractField;
use Nextend\Framework\Form\ContainerInterface;
use Nextend\Framework\Form\TraitFieldset;
class Grouping extends AbstractField implements ContainerInterface {
protected $rowClass = 'n2_field__grouping';
public function __construct($insertAt, $name = '', $label = false, $parameters = array()) {
parent::__construct($insertAt, $name, $label, '', $parameters);
protected function fetchElement() {
$html .= $this->decorateElement($element);
$element = $element->getNext();
public function decorateElement($element) {
return $this->parent->decorateElement($element);