: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace Nextend\Framework\Form\Container;
use Nextend\Framework\Form\ContainerGeneral;
class ContainerSubform extends ContainerGeneral {
public function renderContainer() {
echo '<div id="' . esc_attr($this->getId()) . '" class="n2_form__subform">';
parent::renderContainer();
public function getId() {
return 'n2_form__subform_' . $this->controlName . '_' . $this->name;