Fatal error
: Uncaught Error: Call to undefined function each() in /var/www/public/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php:186 Stack trace: #0 /var/www/public/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php(770): Vc_Mapper->callElementActivities() #1 /var/www/public/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php(367): WPBMap::setElementSettings() #2 /var/www/public/wp-content/plugins/js_composer/include/classes/shortcodes/shortcodes.php(1428): WPBMap::getShortCode() #3 /var/www/public/wp-content/plugins/js_composer/include/helpers/helpers.php(1304): Vc_Shortcodes_Manager->getElementClass() #4 /var/www/public/wp-includes/shortcodes.php(434): vc_do_shortcode() #5 [internal function]: do_shortcode_tag() #6 /var/www/public/wp-includes/shortcodes.php(273): preg_replace_callback() #7 /var/www/public/wp-content/plugins/trx_addons/components/cpt/layouts/layouts.php(474): do_shortcode() #8 /var/www/public/wp-includes/class-wp-hook.php(324): trx_addons_cpt_layouts_show_layout() #9 /var/www/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #10 /var/www/public/wp-includes/plugin.php(517): WP_Hook->do_action() #11 /var/www/public/wp-content/themes/hogwords/plugins/trx_addons/trx_addons.php(1541): do_action() #12 /var/www/public/wp-includes/class-wp-hook.php(324): hogwords_trx_addons_action_show_layout() #13 /var/www/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #14 /var/www/public/wp-includes/plugin.php(517): WP_Hook->do_action() #15 /var/www/public/wp-content/themes/hogwords/templates/header-custom.php(55): do_action() #16 /var/www/public/wp-includes/template.php(812): require('...') #17 /var/www/public/wp-includes/template.php(745): load_template() #18 /var/www/public/wp-includes/general-template.php(206): locate_template() #19 /var/www/public/wp-content/themes/hogwords/header.php(39): get_template_part() #20 /var/www/public/wp-includes/template.php(810): require_once('...') #21 /var/www/public/wp-includes/template.php(745): load_template() #22 /var/www/public/wp-includes/general-template.php(48): locate_template() #23 /var/www/public/wp-content/themes/hogwords/page.php(10): get_header() #24 /var/www/public/wp-includes/template-loader.php(106): include('...') #25 /var/www/public/wp-blog-header.php(19): require_once('...') #26 /var/www/public/index.php(17): require('...') #27 {main} thrown in
/var/www/public/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php
on line
186