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.../themes/Divi/includes/builder/module/field/attribut.../composit...
File: Parser.php
<?php
[0] Fix | Delete
[1] Fix | Delete
/**
[2] Fix | Delete
* Parser of additional composite type attributes
[3] Fix | Delete
*/
[4] Fix | Delete
class ET_Builder_Module_Field_Attribute_Composite_Parser {
[5] Fix | Delete
/**
[6] Fix | Delete
* @param string $type type of composite attribute
[7] Fix | Delete
* @param array $structure attribute structure, depends on type
[8] Fix | Delete
*
[9] Fix | Delete
* @return array Additional attributes for merging with rest of module attributes
[10] Fix | Delete
*/
[11] Fix | Delete
public static function parse( $type, $structure ) {
[12] Fix | Delete
switch( $type ) {
[13] Fix | Delete
case 'tabbed':
[14] Fix | Delete
default:
[15] Fix | Delete
require_once ET_BUILDER_DIR . 'module/field/attribute/composite/type/Tabbed.php';
[16] Fix | Delete
return ET_Builder_Module_Field_Attribute_Composite_Type_Tabbed::parse( $structure );
[17] Fix | Delete
}
[18] Fix | Delete
}
[19] Fix | Delete
}
[20] Fix | Delete
[21] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function