Fatal error: Uncaught TypeError: sqlsrv_fetch_array(): Argument #1 ($stmt) must be of type resource, bool given in /www/jamstockex.com/public/wp-content/plugins/stockex/app/Models/ItchApiClient.php:514 Stack trace: #0 /www/jamstockex.com/public/wp-content/plugins/stockex/app/Models/ItchApiClient.php(514): sqlsrv_fetch_array() #1 /www/jamstockex.com/public/wp-content/plugins/stockex/app/Http/Controllers/InstrumentController.php(61): Stockex\Models\ItchApiClient->getLatestInstrumentData_withId() #2 /www/jamstockex.com/public/wp-content/plugins/stockex/shortcodes/shortcodes.php(268): Stockex\Http\Controllers\InstrumentController->index() #3 /www/jamstockex.com/public/wp-includes/shortcodes.php(433): StockEx_Embed_trade_details() #4 [internal function]: do_shortcode_tag() #5 /www/jamstockex.com/public/wp-includes/shortcodes.php(273): preg_replace_callback() #6 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/widgets/shortcode.php(137): do_shortcode() #7 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/controls-stack.php(2325): Elementor\Widget_Shortcode->render() #8 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/widget-base.php(635): Elementor\Controls_Stack->render_by_mode() #9 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/widget-base.php(776): Elementor\Widget_Base->render_content() #10 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Widget_Base->print_content() #11 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/element-base.php(1440): Elementor\Element_Base->print_element() #12 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Element_Base->print_content() #13 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/element-base.php(1440): Elementor\Element_Base->print_element() #14 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Element_Base->print_content() #15 /www/jamstockex.com/public/wp-content/plugins/elementor/core/base/document.php(1875): Elementor\Element_Base->print_element() #16 /www/jamstockex.com/public/wp-content/plugins/elementor/core/base/document.php(1800): Elementor\Core\Base\Document->do_print_elements() #17 /www/jamstockex.com/public/wp-content/plugins/elementor/core/base/document.php(1201): Elementor\Core\Base\Document->print_elements() #18 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/frontend.php(1158): Elementor\Core\Base\Document->print_elements_with_wrapper() #19 /www/jamstockex.com/public/wp-content/plugins/elementor-pro/modules/posts/skins/skin-content-base.php(271): Elementor\Frontend->get_builder_content() #20 /www/jamstockex.com/public/wp-content/plugins/elementor-pro/modules/theme-builder/widgets/post-content.php(111): ElementorPro\Modules\ThemeBuilder\Widgets\Post_Content->render_post_content() #21 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/controls-stack.php(2325): ElementorPro\Modules\ThemeBuilder\Widgets\Post_Content->render() #22 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/widget-base.php(635): Elementor\Controls_Stack->render_by_mode() #23 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/widget-base.php(776): Elementor\Widget_Base->render_content() #24 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Widget_Base->print_content() #25 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/element-base.php(1440): Elementor\Element_Base->print_element() #26 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Element_Base->print_content() #27 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/element-base.php(1440): Elementor\Element_Base->print_element() #28 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Element_Base->print_content() #29 /www/jamstockex.com/public/wp-content/plugins/elementor/core/base/document.php(1875): Elementor\Element_Base->print_element() #30 /www/jamstockex.com/public/wp-content/plugins/elementor/core/base/document.php(1800): Elementor\Core\Base\Document->do_print_elements() #31 /www/jamstockex.com/public/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(412): Elementor\Core\Base\Document->print_elements() #32 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/frontend.php(1158): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_elements_with_wrapper() #33 /www/jamstockex.com/public/wp-content/plugins/elementor/core/base/document.php(1249): Elementor\Frontend->get_builder_content() #34 /www/jamstockex.com/public/wp-content/plugins/elementor/modules/library/documents/library-document.php(76): Elementor\Core\Base\Document->get_content() #35 /www/jamstockex.com/public/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(158): Elementor\Modules\Library\Documents\Library_Document->get_content() #36 /www/jamstockex.com/public/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(173): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->get_content() #37 /www/jamstockex.com/public/wp-content/plugins/elementor-pro/modules/theme-builder/documents/single-base.php(93): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_content() #38 /www/jamstockex.com/public/wp-content/plugins/elementor-pro/modules/theme-builder/classes/locations-manager.php(364): ElementorPro\Modules\ThemeBuilder\Documents\Single_Base->print_content() #39 /www/jamstockex.com/public/wp-content/themes/astra/inc/compatibility/class-astra-elementor-pro.php(243): ElementorPro\Modules\ThemeBuilder\Classes\Locations_Manager->do_location() #40 /www/jamstockex.com/public/wp-includes/class-wp-hook.php(324): ElementorPro\Modules\ThemeBuilder\ThemeSupport\Astra_Elementor_Pro->do_template_parts() #41 /www/jamstockex.com/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #42 /www/jamstockex.com/public/wp-includes/plugin.php(517): WP_Hook->do_action() #43 /www/jamstockex.com/public/wp-content/themes/astra/inc/class-astra-loop.php(193): do_action() #44 /www/jamstockex.com/public/wp-content/themes/astra/inc/class-astra-loop.php(176): Astra_Loop->loop_markup() #45 /www/jamstockex.com/public/wp-includes/class-wp-hook.php(324): Astra_Loop->loop_markup_page() #46 /www/jamstockex.com/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #47 /www/jamstockex.com/public/wp-includes/plugin.php(517): WP_Hook->do_action() #48 /www/jamstockex.com/public/wp-content/themes/astra/inc/core/theme-hooks.php(267): do_action() #49 /www/jamstockex.com/public/wp-content/themes/astra/page.php(32): astra_content_page_loop() #50 /www/jamstockex.com/public/wp-includes/template-loader.php(106): include('...') #51 /www/jamstockex.com/public/wp-blog-header.php(19): require_once('...') #52 /www/jamstockex.com/public/index.php(17): require('...') #53 {main} thrown in /www/jamstockex.com/public/wp-content/plugins/stockex/app/Models/ItchApiClient.php on line 514
Fatal error: Uncaught TypeError: sqlsrv_fetch_array(): Argument #1 ($stmt) must be of type resource, bool given in /www/jamstockex.com/public/wp-content/plugins/stockex/app/Models/ItchApiClient.php:514 Stack trace: #0 /www/jamstockex.com/public/wp-content/plugins/stockex/app/Models/ItchApiClient.php(514): sqlsrv_fetch_array() #1 /www/jamstockex.com/public/wp-content/plugins/stockex/app/Http/Controllers/InstrumentController.php(61): Stockex\Models\ItchApiClient->getLatestInstrumentData_withId() #2 /www/jamstockex.com/public/wp-content/plugins/stockex/shortcodes/shortcodes.php(268): Stockex\Http\Controllers\InstrumentController->index() #3 /www/jamstockex.com/public/wp-includes/shortcodes.php(433): StockEx_Embed_trade_details() #4 [internal function]: do_shortcode_tag() #5 /www/jamstockex.com/public/wp-includes/shortcodes.php(273): preg_replace_callback() #6 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/widgets/shortcode.php(137): do_shortcode() #7 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/controls-stack.php(2325): Elementor\Widget_Shortcode->render() #8 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/widget-base.php(635): Elementor\Controls_Stack->render_by_mode() #9 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/widget-base.php(776): Elementor\Widget_Base->render_content() #10 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Widget_Base->print_content() #11 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/element-base.php(1440): Elementor\Element_Base->print_element() #12 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Element_Base->print_content() #13 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/element-base.php(1440): Elementor\Element_Base->print_element() #14 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Element_Base->print_content() #15 /www/jamstockex.com/public/wp-content/plugins/elementor/core/base/document.php(1875): Elementor\Element_Base->print_element() #16 /www/jamstockex.com/public/wp-content/plugins/elementor/core/base/document.php(1800): Elementor\Core\Base\Document->do_print_elements() #17 /www/jamstockex.com/public/wp-content/plugins/elementor/core/base/document.php(1201): Elementor\Core\Base\Document->print_elements() #18 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/frontend.php(1158): Elementor\Core\Base\Document->print_elements_with_wrapper() #19 /www/jamstockex.com/public/wp-content/plugins/elementor-pro/modules/posts/skins/skin-content-base.php(271): Elementor\Frontend->get_builder_content() #20 /www/jamstockex.com/public/wp-content/plugins/elementor-pro/modules/theme-builder/widgets/post-content.php(111): ElementorPro\Modules\ThemeBuilder\Widgets\Post_Content->render_post_content() #21 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/controls-stack.php(2325): ElementorPro\Modules\ThemeBuilder\Widgets\Post_Content->render() #22 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/widget-base.php(635): Elementor\Controls_Stack->render_by_mode() #23 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/widget-base.php(776): Elementor\Widget_Base->render_content() #24 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Widget_Base->print_content() #25 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/element-base.php(1440): Elementor\Element_Base->print_element() #26 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Element_Base->print_content() #27 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/element-base.php(1440): Elementor\Element_Base->print_element() #28 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Element_Base->print_content() #29 /www/jamstockex.com/public/wp-content/plugins/elementor/core/base/document.php(1875): Elementor\Element_Base->print_element() #30 /www/jamstockex.com/public/wp-content/plugins/elementor/core/base/document.php(1800): Elementor\Core\Base\Document->do_print_elements() #31 /www/jamstockex.com/public/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(412): Elementor\Core\Base\Document->print_elements() #32 /www/jamstockex.com/public/wp-content/plugins/elementor/includes/frontend.php(1158): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_elements_with_wrapper() #33 /www/jamstockex.com/public/wp-content/plugins/elementor/core/base/document.php(1249): Elementor\Frontend->get_builder_content() #34 /www/jamstockex.com/public/wp-content/plugins/elementor/modules/library/documents/library-document.php(76): Elementor\Core\Base\Document->get_content() #35 /www/jamstockex.com/public/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(158): Elementor\Modules\Library\Documents\Library_Document->get_content() #36 /www/jamstockex.com/public/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(173): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->get_content() #37 /www/jamstockex.com/public/wp-content/plugins/elementor-pro/modules/theme-builder/documents/single-base.php(93): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_content() #38 /www/jamstockex.com/public/wp-content/plugins/elementor-pro/modules/theme-builder/classes/locations-manager.php(364): ElementorPro\Modules\ThemeBuilder\Documents\Single_Base->print_content() #39 /www/jamstockex.com/public/wp-content/themes/astra/inc/compatibility/class-astra-elementor-pro.php(243): ElementorPro\Modules\ThemeBuilder\Classes\Locations_Manager->do_location() #40 /www/jamstockex.com/public/wp-includes/class-wp-hook.php(324): ElementorPro\Modules\ThemeBuilder\ThemeSupport\Astra_Elementor_Pro->do_template_parts() #41 /www/jamstockex.com/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #42 /www/jamstockex.com/public/wp-includes/plugin.php(517): WP_Hook->do_action() #43 /www/jamstockex.com/public/wp-content/themes/astra/inc/class-astra-loop.php(193): do_action() #44 /www/jamstockex.com/public/wp-content/themes/astra/inc/class-astra-loop.php(176): Astra_Loop->loop_markup() #45 /www/jamstockex.com/public/wp-includes/class-wp-hook.php(324): Astra_Loop->loop_markup_page() #46 /www/jamstockex.com/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #47 /www/jamstockex.com/public/wp-includes/plugin.php(517): WP_Hook->do_action() #48 /www/jamstockex.com/public/wp-content/themes/astra/inc/core/theme-hooks.php(267): do_action() #49 /www/jamstockex.com/public/wp-content/themes/astra/page.php(32): astra_content_page_loop() #50 /www/jamstockex.com/public/wp-includes/template-loader.php(106): include('...') #51 /www/jamstockex.com/public/wp-blog-header.php(19): require_once('...') #52 /www/jamstockex.com/public/index.php(17): require('...') #53 {main} thrown in /www/jamstockex.com/public/wp-content/plugins/stockex/app/Models/ItchApiClient.php on line 514