: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
<?php // Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) exit; ?>
<script type="text/x-template" id="module-data-template">
foreach ($moduleTemplate as $key => $module) {
unset($module['front_template']);
unset($module['front_css']);
if(isset($module['front_loop_content'])){
unset($module['front_loop_content']);
if(isset($module['front_common_css'])){
unset($module['front_common_css']);
if(isset($module['repeater'])){
unset($module['repeater']['front_template']);
$conditioner = 'v-else-if';
$moduleJson = array('type'=> 'module','moduleDraggable'=>false ,'modulename'=>strtolower($module['name']),'moduleJson'=>$module);
'.$conditioner.'="cell.type==\''.strtolower($module['name']).'\'
cellcontainer==cell.cell_container"
class="amp_mod amppb-module amppb-module-'.strtolower($module['name']).'"
:data-module_id="cell.cell_id"
<span class="module_label">'.esc_html($module['label']).'
<em v-if="cell.cell_identity_name"> {{cell.cell_identity_name}} </em>
<span class="amppb-setting-right">
<label @click="duplicateModule($event)" class="link amppb-module-copy" title="'.esc_attr($module['label']).'"
:data-module_id="cell.cell_id"
:data-container_id="cell.container_id"
<span class=" dashicons dashicons-admin-page"></span>
<label @click="showModulePopUp($event)" class="link" title="'.esc_attr($module['label']).'" data-popupContent=\''.wp_json_encode($module).'\'
:data-module_id="cell.cell_id"
:data-container_id="cell.container_id"
:data-cell_identity_name = cell.cell_identity_name
<span class="dashicons dashicons-admin-generic"></span>