Fatal error in version 6.3.3
-
My client’s website didn’t show any product images on bundle blocks because the block had changed a bit with the latest releases. After doing debugging with other plugins, I noticed that the issue was the outdated block of your plugin on the pages where the images didn’t show (images were visible on the product pages and also woocommerce’s native product category pages). I re-entered the blocks and now the site works as it should.
While debugging I noticed that Woocommerce informs about a fatal error with the plugin in version 6.3.3:
2022-05-24T06:10:48+00:00 CRITICAL Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given in /home/infrapun/public_html/wp-content/plugins/woo-product-bundle/includes/class-woosb.php:1503 Stack trace: #0 /home/infrapun/public_html/wp-content/plugins/woo-product-bundle/includes/class-woosb.php(1503): method_exists() #1 /home/infrapun/public_html/wp-includes/class-wp-hook.php(309): WPCleverWoosb->cart_item_visible() #2 /home/infrapun/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters() #3 /home/infrapun/public_html/wp-content/plugins/woocommerce/templates/cart/cart.php(44): apply_filters() #4 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/infrapun/...') #5 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-cart.php(99): wc_get_template() #6 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Cart::output() #7 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(85): WC_Shortcodes::shortcode_wrapper() #8 /home/infrapun/public_html/wp-includes/shortcodes.php(356): WC_Shortcodes::cart() #9 [internal function]: do_shortcode_tag() #10 /home/infrapun/public_html/wp-includes/shortcodes.php(228): preg_replace_callback() #11 /home/infrapun/public_html/wp-includes/class-wp-hook.php(307): do_shortcode() #12 /home/infrapun/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters() #13 /home/infrapun/public_html/wp-includes/post-template.php(253): apply_filters() #14 /home/infrapun/public_html/wp-content/themes/roseta/content/content-page.php(33): the_content() #15 /home/infrapun/public_html/wp-includes/template.php(772): require('/home/infrapun/...') #16 /home/infrapun/public_html/wp-includes/template.php(716): load_template() #17 /home/infrapun/public_html/wp-includes/general-template.php(204): locate_template() #18 /home/infrapun/public_html/wp-content/themes/roseta/page.php(20): get_template_part() #19 /home/infrapun/public_html/wp-includes/template-loader.php(106): include('/home/infrapun/...') #20 /home/infrapun/public_html/wp-blog-header.php(19): require_once('/home/infrapun/...') #21 /home/infrapun/public_html/index.php(17): require('/home/infrapun/...') #22 {main} thrown here /home/infrapun/public_html/wp-content/plugins/woo-product-bundle/includes/class-woosb.php on row 1503 2022-05-24T06:11:10+00:00 CRITICAL Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given in /home/infrapun/public_html/wp-content/plugins/woo-product-bundle/includes/class-woosb.php:1503 Stack trace: #0 /home/infrapun/public_html/wp-content/plugins/woo-product-bundle/includes/class-woosb.php(1503): method_exists() #1 /home/infrapun/public_html/wp-includes/class-wp-hook.php(309): WPCleverWoosb->cart_item_visible() #2 /home/infrapun/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters() #3 /home/infrapun/public_html/wp-content/plugins/woocommerce/templates/cart/cart.php(44): apply_filters() #4 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/infrapun/...') #5 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-cart.php(99): wc_get_template() #6 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Cart::output() #7 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(85): WC_Shortcodes::shortcode_wrapper() #8 /home/infrapun/public_html/wp-includes/shortcodes.php(356): WC_Shortcodes::cart() #9 [internal function]: do_shortcode_tag() #10 /home/infrapun/public_html/wp-includes/shortcodes.php(228): preg_replace_callback() #11 /home/infrapun/public_html/wp-includes/class-wp-hook.php(307): do_shortcode() #12 /home/infrapun/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters() #13 /home/infrapun/public_html/wp-includes/post-template.php(253): apply_filters() #14 /home/infrapun/public_html/wp-content/themes/roseta/content/content-page.php(33): the_content() #15 /home/infrapun/public_html/wp-includes/template.php(772): require('/home/infrapun/...') #16 /home/infrapun/public_html/wp-includes/template.php(716): load_template() #17 /home/infrapun/public_html/wp-includes/general-template.php(204): locate_template() #18 /home/infrapun/public_html/wp-content/themes/roseta/page.php(20): get_template_part() #19 /home/infrapun/public_html/wp-includes/template-loader.php(106): include('/home/infrapun/...') #20 /home/infrapun/public_html/wp-blog-header.php(19): require_once('/home/infrapun/...') #21 /home/infrapun/public_html/index.php(17): require('/home/infrapun/...') #22 {main} thrown here /home/infrapun/public_html/wp-content/plugins/woo-product-bundle/includes/class-woosb.php on row 1503 2022-05-24T06:12:49+00:00 CRITICAL Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given in /home/infrapun/public_html/wp-content/plugins/woo-product-bundle/includes/class-woosb.php:1503 Stack trace: #0 /home/infrapun/public_html/wp-content/plugins/woo-product-bundle/includes/class-woosb.php(1503): method_exists() #1 /home/infrapun/public_html/wp-includes/class-wp-hook.php(309): WPCleverWoosb->cart_item_visible() #2 /home/infrapun/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters() #3 /home/infrapun/public_html/wp-content/plugins/woocommerce/templates/cart/cart.php(44): apply_filters() #4 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/infrapun/...') #5 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-cart.php(99): wc_get_template() #6 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Cart::output() #7 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(85): WC_Shortcodes::shortcode_wrapper() #8 /home/infrapun/public_html/wp-includes/shortcodes.php(356): WC_Shortcodes::cart() #9 [internal function]: do_shortcode_tag() #10 /home/infrapun/public_html/wp-includes/shortcodes.php(228): preg_replace_callback() #11 /home/infrapun/public_html/wp-includes/class-wp-hook.php(307): do_shortcode() #12 /home/infrapun/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters() #13 /home/infrapun/public_html/wp-includes/post-template.php(253): apply_filters() #14 /home/infrapun/public_html/wp-content/themes/roseta/content/content-page.php(33): the_content() #15 /home/infrapun/public_html/wp-includes/template.php(772): require('/home/infrapun/...') #16 /home/infrapun/public_html/wp-includes/template.php(716): load_template() #17 /home/infrapun/public_html/wp-includes/general-template.php(204): locate_template() #18 /home/infrapun/public_html/wp-content/themes/roseta/page.php(20): get_template_part() #19 /home/infrapun/public_html/wp-includes/template-loader.php(106): include('/home/infrapun/...') #20 /home/infrapun/public_html/wp-blog-header.php(19): require_once('/home/infrapun/...') #21 /home/infrapun/public_html/index.php(17): require('/home/infrapun/...') #22 {main} thrown here /home/infrapun/public_html/wp-content/plugins/woo-product-bundle/includes/class-woosb.php on row 1503 2022-05-24T13:24:54+00:00 CRITICAL Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given in /home/infrapun/public_html/wp-content/plugins/woo-product-bundle/includes/class-woosb.php:1503 Stack trace: #0 /home/infrapun/public_html/wp-content/plugins/woo-product-bundle/includes/class-woosb.php(1503): method_exists() #1 /home/infrapun/public_html/wp-includes/class-wp-hook.php(309): WPCleverWoosb->cart_item_visible() #2 /home/infrapun/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters() #3 /home/infrapun/public_html/wp-content/plugins/woocommerce/templates/cart/cart.php(44): apply_filters() #4 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/infrapun/...') #5 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-cart.php(99): wc_get_template() #6 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Cart::output() #7 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(85): WC_Shortcodes::shortcode_wrapper() #8 /home/infrapun/public_html/wp-includes/shortcodes.php(356): WC_Shortcodes::cart() #9 [internal function]: do_shortcode_tag() #10 /home/infrapun/public_html/wp-includes/shortcodes.php(228): preg_replace_callback() #11 /home/infrapun/public_html/wp-includes/class-wp-hook.php(307): do_shortcode() #12 /home/infrapun/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters() #13 /home/infrapun/public_html/wp-includes/post-template.php(253): apply_filters() #14 /home/infrapun/public_html/wp-content/themes/roseta/content/content-page.php(33): the_content() #15 /home/infrapun/public_html/wp-includes/template.php(772): require('/home/infrapun/...') #16 /home/infrapun/public_html/wp-includes/template.php(716): load_template() #17 /home/infrapun/public_html/wp-includes/general-template.php(204): locate_template() #18 /home/infrapun/public_html/wp-content/themes/roseta/page.php(20): get_template_part() #19 /home/infrapun/public_html/wp-includes/template-loader.php(106): include('/home/infrapun/...') #20 /home/infrapun/public_html/wp-blog-header.php(19): require_once('/home/infrapun/...') #21 /home/infrapun/public_html/index.php(17): require('/home/infrapun/...') #22 {main} thrown here /home/infrapun/public_html/wp-content/plugins/woo-product-bundle/includes/class-woosb.php on row 1503 2022-05-24T13:26:19+00:00 CRITICAL Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given in /home/infrapun/public_html/wp-content/plugins/woo-product-bundle/includes/class-woosb.php:1503 Stack trace: #0 /home/infrapun/public_html/wp-content/plugins/woo-product-bundle/includes/class-woosb.php(1503): method_exists() #1 /home/infrapun/public_html/wp-includes/class-wp-hook.php(309): WPCleverWoosb->cart_item_visible() #2 /home/infrapun/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters() #3 /home/infrapun/public_html/wp-content/plugins/woocommerce/templates/cart/cart.php(44): apply_filters() #4 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/infrapun/...') #5 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-cart.php(99): wc_get_template() #6 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Cart::output() #7 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(85): WC_Shortcodes::shortcode_wrapper() #8 /home/infrapun/public_html/wp-includes/shortcodes.php(356): WC_Shortcodes::cart() #9 [internal function]: do_shortcode_tag() #10 /home/infrapun/public_html/wp-includes/shortcodes.php(228): preg_replace_callback() #11 /home/infrapun/public_html/wp-includes/class-wp-hook.php(307): do_shortcode() #12 /home/infrapun/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters() #13 /home/infrapun/public_html/wp-includes/post-template.php(253): apply_filters() #14 /home/infrapun/public_html/wp-content/themes/roseta/content/content-page.php(33): the_content() #15 /home/infrapun/public_html/wp-includes/template.php(772): require('/home/infrapun/...') #16 /home/infrapun/public_html/wp-includes/template.php(716): load_template() #17 /home/infrapun/public_html/wp-includes/general-template.php(204): locate_template() #18 /home/infrapun/public_html/wp-content/themes/roseta/page.php(20): get_template_part() #19 /home/infrapun/public_html/wp-includes/template-loader.php(106): include('/home/infrapun/...') #20 /home/infrapun/public_html/wp-blog-header.php(19): require_once('/home/infrapun/...') #21 /home/infrapun/public_html/index.php(17): require('/home/infrapun/...') #22 {main} thrown here /home/infrapun/public_html/wp-content/plugins/woo-product-bundle/includes/class-woosb.php on row 1503 2022-05-24T18:04:34+00:00 CRITICAL Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given in /home/infrapun/public_html/wp-content/plugins/woo-product-bundle/includes/class-woosb.php:1503 Stack trace: #0 /home/infrapun/public_html/wp-content/plugins/woo-product-bundle/includes/class-woosb.php(1503): method_exists() #1 /home/infrapun/public_html/wp-includes/class-wp-hook.php(309): WPCleverWoosb->cart_item_visible() #2 /home/infrapun/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters() #3 /home/infrapun/public_html/wp-content/plugins/woocommerce/templates/cart/cart.php(44): apply_filters() #4 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/infrapun/...') #5 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-cart.php(99): wc_get_template() #6 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Cart::output() #7 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(85): WC_Shortcodes::shortcode_wrapper() #8 /home/infrapun/public_html/wp-includes/shortcodes.php(356): WC_Shortcodes::cart() #9 [internal function]: do_shortcode_tag() #10 /home/infrapun/public_html/wp-includes/shortcodes.php(228): preg_replace_callback() #11 /home/infrapun/public_html/wp-includes/class-wp-hook.php(307): do_shortcode() #12 /home/infrapun/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters() #13 /home/infrapun/public_html/wp-includes/post-template.php(253): apply_filters() #14 /home/infrapun/public_html/wp-content/themes/roseta/content/content-page.php(33): the_content() #15 /home/infrapun/public_html/wp-includes/template.php(772): require('/home/infrapun/...') #16 /home/infrapun/public_html/wp-includes/template.php(716): load_template() #17 /home/infrapun/public_html/wp-includes/general-template.php(204): locate_template() #18 /home/infrapun/public_html/wp-content/themes/roseta/page.php(20): get_template_part() #19 /home/infrapun/public_html/wp-includes/template-loader.php(106): include('/home/infrapun/...') #20 /home/infrapun/public_html/wp-blog-header.php(19): require_once('/home/infrapun/...') #21 /home/infrapun/public_html/index.php(17): require('/home/infrapun/...') #22 {main} thrown here /home/infrapun/public_html/wp-content/plugins/woo-product-bundle/includes/class-woosb.php on row 1503 2022-05-24T18:14:37+00:00 CRITICAL Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given in /home/infrapun/public_html/wp-content/plugins/woo-product-bundle/includes/class-woosb.php:1503 Stack trace: #0 /home/infrapun/public_html/wp-content/plugins/woo-product-bundle/includes/class-woosb.php(1503): method_exists() #1 /home/infrapun/public_html/wp-includes/class-wp-hook.php(309): WPCleverWoosb->cart_item_visible() #2 /home/infrapun/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters() #3 /home/infrapun/public_html/wp-content/plugins/woocommerce/templates/cart/cart.php(44): apply_filters() #4 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/infrapun/...') #5 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-cart.php(99): wc_get_template() #6 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Cart::output() #7 /home/infrapun/public_html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(85): WC_Shortcodes::shortcode_wrapper() #8 /home/infrapun/public_html/wp-includes/shortcodes.php(356): WC_Shortcodes::cart() #9 [internal function]: do_shortcode_tag() #10 /home/infrapun/public_html/wp-includes/shortcodes.php(228): preg_replace_callback() #11 /home/infrapun/public_html/wp-includes/class-wp-hook.php(307): do_shortcode() #12 /home/infrapun/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters() #13 /home/infrapun/public_html/wp-includes/post-template.php(253): apply_filters() #14 /home/infrapun/public_html/wp-content/themes/roseta/content/content-page.php(33): the_content() #15 /home/infrapun/public_html/wp-includes/template.php(772): require('/home/infrapun/...') #16 /home/infrapun/public_html/wp-includes/template.php(716): load_template() #17 /home/infrapun/public_html/wp-includes/general-template.php(204): locate_template() #18 /home/infrapun/public_html/wp-content/themes/roseta/page.php(20): get_template_part() #19 /home/infrapun/public_html/wp-includes/template-loader.php(106): include('/home/infrapun/...') #20 /home/infrapun/public_html/wp-blog-header.php(19): require_once('/home/infrapun/...') #21 /home/infrapun/public_html/index.php(17): require('/home/infrapun/...') #22 {main} thrown here /home/infrapun/public_html/wp-content/plugins/woo-product-bundle/includes/class-woosb.php on row 1503
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Fatal error in version 6.3.3’ is closed to new replies.