Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/rebornmasks/public_html/wp-content/plugins/nm-custom-code/includes/shortcodes/woocommerce/product-categories.php:18
Stack trace:
#0 /home/rebornmasks/public_html/wp-includes/shortcodes.php(355): nm_shortcode_product_categories('', '', 'nm_product_cate...')
#1 [internal function]: do_shortcode_tag(Array)
#2 /home/rebornmasks/public_html/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(nm_pro...', 'do_shortcode_ta...', '[nm_product_sea...')
#3 /home/rebornmasks/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(246): do_shortcode('[nm_product_sea...')
#4 /home/rebornmasks/public_html/wp-content/themes/savoy/includes/visual-composer/element-templates/vc_column.php(43): wpb_js_remove_wpautop('[nm_product_sea...')
#5 /home/rebornmasks/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(451): require('/home/rebornmas...')
#6 /home/rebornmasks/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(424): WPBakeryShortCode->loadTemplate(Array, '[nm_product_sea...')
#7 /home/rebornmasks/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(546): WPBakeryShortCode->content(Array, '[nm_product_sea...')
#8 /home/rebornmasks/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(1323): WPBakeryShortCode->output('', '[nm_product_sea...')
#9 /home/rebornmasks/public_html/wp-includes/shortcodes.php(355): vc_do_shortcode('', '[nm_product_sea...', 'vc_column')
#10 [internal function]: do_shortcode_tag(Array)
#11 /home/rebornmasks/public_html/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(nm_pro...', 'do_shortcode_ta...', '[vc_column][nm_...')
#12 /home/rebornmasks/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(246): do_shortcode('[vc_column][nm_...')
#13 /home/rebornmasks/public_html/wp-content/themes/savoy/includes/visual-composer/element-templates/vc_row.php(123): wpb_js_remove_wpautop('[vc_column][nm_...')
#14 /home/rebornmasks/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(451): require('/home/rebornmas...')
#15 /home/rebornmasks/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/vc-row.php(40): WPBakeryShortCode->loadTemplate(Array, '[vc_column][nm_...')
#16 /home/rebornmasks/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(546): WPBakeryShortCode_Vc_Row->content(Array, '[vc_column][nm_...')
#17 /home/rebornmasks/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(1323): WPBakeryShortCode->output('', '[vc_column][nm_...')
#18 /home/rebornmasks/public_html/wp-includes/shortcodes.php(355): vc_do_shortcode('', '[vc_column][nm_...', 'vc_row')
#19 [internal function]: do_shortcode_tag(Array)
#20 /home/rebornmasks/public_html/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(nm_pro...', 'do_shortcode_ta...', '<p>[vc_row][vc_...')
#21 /home/rebornmasks/public_html/wp-includes/class-wp-hook.php(308): do_shortcode('<p>[vc_row][vc_...')
#22 /home/rebornmasks/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('<p>[vc_row][vc_...', Array)
#23 /home/rebornmasks/public_html/wp-includes/post-template.php(255): apply_filters('the_content', '[vc_row][vc_col...')
#24 /home/rebornmasks/public_html/wp-content/themes/savoy/page.php(11): the_content()
#25 /home/rebornmasks/public_html/wp-includes/template-loader.php(106): include('/home/rebornmas...')
#26 /home/rebornmasks/public_html/wp-blog-header.php(19): require_once('/home/rebornmas...')
#27 /home/rebornmasks/public_html/index.php(17): require('/home/rebornmas...')
#28 {main}
thrown in /home/rebornmasks/public_html/wp-content/plugins/nm-custom-code/includes/shortcodes/woocommerce/product-categories.php on line 18