Fatal error: Uncaught Error: Unsupported operand types: string / int
in /var/www/wp-content/themes/smart-mag/blocks/review.php on line 59
Call stack:
include()
wp-content/plugins/bunyad-shortcodes/bunyad-shortcodes.php:239Bunyad_ShortCodes::__call()
wp-includes/shortcodes.php:434do_shortcode_tag()
preg_replace_callback()
wp-includes/shortcodes.php:273do_shortcode()
wp-content/themes/smart-mag/functions.php:922Bunyad_Theme_SmartMag::add_review()
wp-includes/class-wp-hook.php:326WP_Hook::apply_filters()
wp-includes/plugin.php:205apply_filters()
wp-content/themes/smart-mag/lib/posts.php:118Bunyad_Posts::the_content()
wp-content/themes/smart-mag/partials/single/post-content.php:18require()
wp-includes/template.php:812load_template()
wp-includes/template.php:745locate_template()
wp-includes/general-template.php:206get_template_part()
wp-content/themes/smart-mag/content.php:131require()
wp-includes/template.php:812load_template()
wp-includes/template.php:745locate_template()
wp-includes/general-template.php:206get_template_part()
wp-content/themes/smart-mag/single.php:51include()
wp-includes/template-loader.php:106require_once()
wp-blog-header.php:19require()
index.php:17
Warning: Undefined array key "file" in /var/www/wp-content/plugins/query-monitor/collectors/php_errors.php on line 364
Warning: Undefined array key "line" in /var/www/wp-content/plugins/query-monitor/collectors/php_errors.php on line 364
Query Monitor
Fatal error: Uncaught TypeError: Unsupported operand types: string / int in /var/www/wp-content/themes/smart-mag/blocks/review.php:59 Stack trace: #0 /var/www/wp-content/plugins/bunyad-shortcodes/bunyad-shortcodes.php(239): include() #1 /var/www/wp-includes/shortcodes.php(434): Bunyad_ShortCodes->__call('sc_block_review', Array) #2 [internal function]: do_shortcode_tag(Array) #3 /var/www/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(review...', 'do_shortcode_ta...', '[review positio...') #4 /var/www/wp-content/themes/smart-mag/functions.php(922): do_shortcode('[review positio...') #5 /var/www/wp-includes/class-wp-hook.php(326): Bunyad_Theme_SmartMag->add_review('<div id="cp-0" ...') #6 /var/www/wp-includes/plugin.php(205): WP_Hook->apply_filters('<div id="cp-0" ...', Array) #7 /var/www/wp-content/themes/smart-mag/lib/posts.php(118): apply_filters('the_content', '<div id="cp-0" ...', 'bunyad_main_con...') #8 /var/www/wp-content/themes/smart-mag/partials/single/post-content.php(18): Bunyad_Posts->the_content() #9 /var/www/wp-includes/template.php(812): require('/var/www/wp-con...') #10 /var/www/wp-includes/template.php(745): load_template('/var/www/wp-con...', false, Array) #11 /var/www/wp-includes/general-template.php(206): locate_template(Array, true, false, Array) #12 /var/www/wp-content/themes/smart-mag/content.php(131): get_template_part('partials/single...') #13 /var/www/wp-includes/template.php(812): require('/var/www/wp-con...') #14 /var/www/wp-includes/template.php(745): load_template('/var/www/wp-con...', false, Array) #15 /var/www/wp-includes/general-template.php(206): locate_template(Array, true, false, Array) #16 /var/www/wp-content/themes/smart-mag/single.php(51): get_template_part('content', 'single') #17 /var/www/wp-includes/template-loader.php(106): include('/var/www/wp-con...') #18 /var/www/wp-blog-header.php(19): require_once('/var/www/wp-inc...') #19 /var/www/index.php(17): require('/var/www/wp-blo...') #20 {main} thrown in /var/www/wp-content/themes/smart-mag/blocks/review.php on line 59