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('sc_block_review', array)
wp-includes/shortcodes.php:434do_shortcode_tag(array)
preg_replace_callback('/\[(\[?)(review)(?![...*+)\[\/\2\])?)(\]?)/', 'do_shortcode_tag', '[review position="none"]')
wp-includes/shortcodes.php:273do_shortcode('[review position="none"]')
wp-content/themes/smart-mag/functions.php:922Bunyad_Theme_SmartMag::add_review('<p><i><span style="f...artner. </span></p> ')
wp-includes/class-wp-hook.php:326WP_Hook::apply_filters('<p><i><span style="f...artner. </span></p> ', array)
wp-includes/plugin.php:205apply_filters('the_content', '<i><span style="font...ary partner. </span>', 'bunyad_main_content')
wp-content/themes/smart-mag/lib/posts.php:118Bunyad_Posts::the_content()
wp-content/themes/smart-mag/partials/single/post-content.php:18require('/var/www/wp-content/...gle/post-content.php')
wp-includes/template.php:812load_template('/var/www/wp-content/...gle/post-content.php', false, array)
wp-includes/template.php:745locate_template(array, true, false, array)
wp-includes/general-template.php:206get_template_part('partials/single/post-content')
wp-content/themes/smart-mag/content.php:131require('/var/www/wp-content/themes/smart-mag/content.php')
wp-includes/template.php:812load_template('/var/www/wp-content/themes/smart-mag/content.php', false, array)
wp-includes/template.php:745locate_template(array, true, false, array)
wp-includes/general-template.php:206get_template_part('content', 'single')
wp-content/themes/smart-mag/single.php:51include('/var/www/wp-content/themes/smart-mag/single.php')
wp-includes/template-loader.php:106require_once('/var/www/wp-includes/template-loader.php')
wp-blog-header.php:19require('/var/www/wp-blog-header.php')
index.php:17
Warning: Undefined array key "file" in /var/www/wp-content/plugins/query-monitor/collectors/php_errors.php on line 388
Warning: Undefined array key "line" in /var/www/wp-content/plugins/query-monitor/collectors/php_errors.php on line 388
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('<p><i><span sty...') #6 /var/www/wp-includes/plugin.php(205): WP_Hook->apply_filters('<p><i><span sty...', Array) #7 /var/www/wp-content/themes/smart-mag/lib/posts.php(118): apply_filters('the_content', '<i><span style=...', '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