: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
// Background layout class names.
$background_layout_class_names = et_pb_background_layout_options()->get_background_layout_class( $this->props );
$this->add_classname( $background_layout_class_names );
if ( 'off' === $show_avatar ) {
$this->add_classname( 'et_pb_no_avatar' );
if ( 'off' === $show_reply ) {
$this->add_classname( 'et_pb_no_reply_button' );
if ( 'off' === $show_count ) {
$this->add_classname( 'et_pb_no_comments_count' );
// Removed automatically added classname
$this->remove_classname( $render_slug );
$multi_view_data_attr = $multi_view->render_attrs( array(
'et_pb_no_avatar' => array(
'et_pb_no_reply_button' => array(
'et_pb_no_comments_count' => array(
'<div%3$s class="%2$s"%4$s%7$s%8$s%9$s%10$s>
$this->module_classname( $render_slug ),
'' !== $comments_custom_icon ? sprintf( ' data-icon="%1$s"', esc_attr( et_pb_process_font_icon( $comments_custom_icon ) ) ) : '',
$parallax_image_background,
et_core_esc_previously( $data_background_layout ),
'' !== $comments_custom_icon_tablet ? sprintf( ' data-icon-tablet="%1$s"', esc_attr( et_pb_process_font_icon( $comments_custom_icon_tablet ) ) ) : '',
'' !== $comments_custom_icon_phone ? sprintf( ' data-icon-phone="%1$s"', esc_attr( et_pb_process_font_icon( $comments_custom_icon_phone ) ) ) : '',
$multi_view_data_attr // #10
new ET_Builder_Module_Comments;
if ( et_is_woocommerce_plugin_active() && defined( 'ET_BUILDER_DIR' ) ) {
// Use separate files for better organization.
require_once ( ET_BUILDER_DIR . 'module/woocommerce/Reviews.php' );