The thank you page is not working
-
Hello. For some reason, the thank you page isn’t working for me. When I disable the plugin, it works normally. From the log I found:
2023-08-25T08:08:20+00:00 CRITICAL Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /volume1/web_packages/wordpress/wp-content/plugins/woocommerce-checkout-manager/lib/controller/class-order.php:304 Stack trace: #0 /volume1/web_packages/wordpress/wp-content/plugins/woocommerce-checkout-manager/lib/controller/class-order.php(304): implode(‘,’, ‘Hotovo’) #1 /volume1/web_packages/wordpress/wp-includes/class-wp-hook.php(312): QuadLayers\WOOCCM\Controller\Order->upload_os(Array) #2 /volume1/web_packages/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #3 /volume1/web_packages/wordpress/wp-includes/option.php(214): apply_filters(‘default_option_…’, Array, ‘wooccm_order_up…’, true) #4 /volume1/web_packages/wordpress/wp-content/plugins/woocommerce-checkout-manager/lib/controller/class-order.php(125): get_option(‘wooccm_order_up…’, Array) #5 /volume1/web_packages/wordpress/wp-includes/class-wp-hook.php(310): QuadLayers\WOOCCM\Controller\Order->add_upload_files(20715) #6 /volume1/web_packages/wordpress/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #7 /volume1/web_packages/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #8 /volume1/web_packages/wordpress/wp-content/plugins/woocommerce/templates/checkout/thankyou.php(80): do_action(‘woocommerce_tha…’, 20715) #9 /volume1/web_packages/wordpress/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘/volume1/web_pa…’) #10 /volume1/web_packages/wordpress/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(322): wc_get_template(‘checkout/thanky…’, Array) #11 /volume1/web_packages/wordpress/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(63): WC_Shortcode_Checkout::order_received(20715) #12 /volume1/web_packages/wordpress/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Checkout::output(”) #13 /volume1/web_packages/wordpress/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(95): WC_Shortcodes::shortcode_wrapper(Array, ”) #14 /volume1/web_packages/wordpress/wp-includes/shortcodes.php(395): WC_Shortcodes::checkout(”, ”, ‘woocommerce_che…’) #15 [internal function]: do_shortcode_tag(Array) #16 /volume1/web_packages/wordpress/wp-includes/shortcodes.php(235): preg_replace_callback(‘/\\[(\\[?)(woocom…’, ‘do_shortcode_ta…’, ‘[woocommerce_ch…’) #17 /volume1/web_packages/wordpress/wp-content/plugins/elementor/includes/widgets/shortcode.php(130): do_shortcode(‘[woocommerce_ch…’) #18 /volume1/web_packages/wordpress/wp-content/plugins/elementor/includes/base/controls-stack.php(2243): Elementor\Widget_Shortcode->render() #19 /volume1/web_packages/wordpress/wp-content/plugins/elementor/includes/base/widget-base.php(609): Elementor\Controls_Stack->render_by_mode() #20 /volume1/web_packages/wordpress/wp-content/plugins/elementor/includes/base/widget-base.php(750): Elementor\Widget_Base->render_content() #21 /volume1/web_packages/wordpress/wp-content/plugins/elementor/includes/base/element-base.php(449): Elementor\Widget_Base->print_content() #22 /volume1/web_packages/wordpress/wp-content/plugins/elementor/includes/base/element-base.php(1360): Elementor\Element_Base->print_element() #23 /volume1/web_packages/wordpress/wp-content/plugins/elementor/includes/base/element-base.php(449): Elementor\Element_Base->print_content() #24 /volume1/web_packages/wordpress/wp-content/plugins/elementor/includes/base/element-base.php(1360): Elementor\Element_Base->print_element() #25 /volume1/web_packages/wordpress/wp-content/plugins/elementor/includes/base/element-base.php(449): Elementor\Element_Base->print_content() #26 /volume1/web_packages/wordpress/wp-content/plugins/elementor/core/base/document.php(1711): Elementor\Element_Base->print_element() #27 /volume1/web_packages/wordpress/wp-content/plugins/elementor/core/base/document.php(1106): Elementor\Core\Base\Document->print_elements(Array) #28 /volume1/web_packages/wordpress/wp-content/plugins/elementor/includes/frontend.php(1179): Elementor\Core\Base\Document->print_elements_with_wrapper(Array) #29 /volume1/web_packages/wordpress/wp-content/plugins/elementor/includes/frontend.php(1074): Elementor\Frontend->get_builder_content(14781) #30 /volume1/web_packages/wordpress/wp-includes/class-wp-hook.php(310): Elementor\Frontend->apply_builder_in_content(‘[woocommerce_ch…’) #31 /volume1/web_packages/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘[woocommerce_ch…’, Array) #32 /volume1/web_packages/wordpress/wp-includes/post-template.php(256): apply_filters(‘the_content’, ‘[woocommerce_ch…’) #33 /volume1/web_packages/wordpress/wp-content/themes/shoptimizer/inc/shoptimizer-template-functions.php(649): the_content() #34 /volume1/web_packages/wordpress/wp-includes/class-wp-hook.php(310): shoptimizer_page_content(”) #35 /volume1/web_packages/wordpress/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #36 /volume1/web_packages/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #37 /volume1/web_packages/wordpress/wp-content/themes/shoptimizer/content-page.php(18): do_action(‘shoptimizer_pag…’) #38 /volume1/web_packages/wordpress/wp-includes/template.php(787): require(‘/volume1/web_pa…’) #39 /volume1/web_packages/wordpress/wp-includes/template.php(720): load_template(‘/volume1/web_pa…’, false, Array) #40 /volume1/web_packages/wordpress/wp-includes/general-template.php(206): locate_template(Array, true, false, Array) #41 /volume1/web_packages/wordpress/wp-content/themes/shoptimizer/template-canvas.php(22): get_template_part(‘content’, ‘page’) #42 /volume1/web_packages/wordpress/wp-includes/template-loader.php(106): include(‘/volume1/web_pa…’) #43 /volume1/web_packages/wordpress/wp-blog-header.php(19): require_once(‘/volume1/web_pa…’) #44 /volume1/web_packages/wordpress/index.php(17): require(‘/volume1/web_pa…’) #45 {main} thrown v /volume1/web_packages/wordpress/wp-content/plugins/woocommerce-checkout-manager/lib/controller/class-order.php na ?ádku 304
How can I fix it?
- The topic ‘The thank you page is not working’ is closed to new replies.