: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
<table class="nf-sub-custom-fields-table">
<th><?php esc_html_e( 'Field', 'ninja-forms' ); ?></th>
<th><?php esc_html_e( 'Value', 'ninja-forms' ); ?></th>
<?php foreach( $fields as $field ): ?>
<?php if( in_array( $field->get_setting( 'type' ), $hidden_field_types ) ) continue; ?>
<?php if( ! isset( Ninja_Forms()->fields[ $field->get_setting( 'type' ) ] ) ) continue; ?>
<?php $field_class = Ninja_Forms()->fields[ $field->get_setting( 'type' ) ]; ?>
<?php if( ! $field_class ) continue; ?>
<td><?php echo ( $field->get_setting( 'admin_label' ) ) ? $field->get_setting( 'admin_label' ) : $field->get_setting( 'label' ) ; ?></td>
<td><?php echo $field_class->admin_form_element( $field->get_id(), $sub->get_field_value( $field->get_id() ) ); ?></td>
<!-- TODO: Move to Style Sheet -->
.nf-sub-custom-fields-table {
.nf-sub-custom-fields-table thead {
background-color: #f1f1f1;
.nf-sub-custom-fields-table thead th {
.nf-sub-custom-fields-table th,
.nf-sub-custom-fields-table td {
padding: 10px 0 10px 10px;
.nf-sub-custom-fields-table textarea {