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/ninja-fo.../blocks/views/includes/DataBuil...
File: FieldsBuilderFactory.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace NinjaForms\Blocks\DataBuilder;
[2] Fix | Delete
[3] Fix | Delete
class FieldsBuilderFactory {
[4] Fix | Delete
[5] Fix | Delete
public function make( $formID ) {
[6] Fix | Delete
$fields = array_map( function($field) {
[7] Fix | Delete
return array_merge([ 'id' => $field->get_id(), ], $field->get_settings() );
[8] Fix | Delete
}, Ninja_Forms()->form( $formID )->get_fields() );
[9] Fix | Delete
return new FieldsBuilder( $fields );
[10] Fix | Delete
}
[11] Fix | Delete
}
[12] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function