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.../themes/Divi/includes/builder
File: main-modules.php
<?php
[0] Fix | Delete
[1] Fix | Delete
// Load all modules
[2] Fix | Delete
$et_builder_module_files = glob( ET_BUILDER_DIR . 'module/*.php' );
[3] Fix | Delete
$et_builder_module_types = glob( ET_BUILDER_DIR . 'module/type/*.php' );
[4] Fix | Delete
[5] Fix | Delete
if ( ! $et_builder_module_files ) {
[6] Fix | Delete
return;
[7] Fix | Delete
}
[8] Fix | Delete
[9] Fix | Delete
/**
[10] Fix | Delete
* Fires before the builder's module classes are loaded.
[11] Fix | Delete
*
[12] Fix | Delete
* @since 3.0.77
[13] Fix | Delete
*/
[14] Fix | Delete
do_action( 'et_builder_modules_load' );
[15] Fix | Delete
[16] Fix | Delete
foreach ( $et_builder_module_types as $module_type ) {
[17] Fix | Delete
require_once( $module_type );
[18] Fix | Delete
}
[19] Fix | Delete
[20] Fix | Delete
foreach ( $et_builder_module_files as $module_file ) {
[21] Fix | Delete
require_once( $module_file );
[22] Fix | Delete
}
[23] Fix | Delete
if ( et_is_woocommerce_plugin_active() ) {
[24] Fix | Delete
$et_builder_woocommerce_module_files = glob( ET_BUILDER_DIR . 'module/woocommerce/*.php' );
[25] Fix | Delete
[26] Fix | Delete
foreach ( $et_builder_woocommerce_module_files as $module_type ) {
[27] Fix | Delete
require_once( $module_type );
[28] Fix | Delete
}
[29] Fix | Delete
}
[30] Fix | Delete
[31] Fix | Delete
/**
[32] Fix | Delete
* Fires after the builder's module classes are loaded.
[33] Fix | Delete
*
[34] Fix | Delete
* @since 3.0.77
[35] Fix | Delete
*/
[36] Fix | Delete
do_action( 'et_builder_modules_loaded' );
[37] Fix | Delete
[38] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function