Fatal error in WooCommerce
-
Hi,
My site was fully okay 1 week ago but unfortunately facing this error now, I’m unable to make any posts or create new pages, others are all working well, looking for help to get the solution. error is that below.
Fatal error: Uncaught Error: Call to a member function __isset() on null in /home/qfixcomb/public_html/wp-content/themes/electro/inc/woocommerce/functions.php:97 Stack trace: #0 /home/qfixcomb/public_html/wp-includes/class-wp-hook.php(310): electro_set_loop_shop_per_page(16) #1 /home/qfixcomb/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(16, Array) #2 /home/qfixcomb/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/ProductQuery.php(135): apply_filters(‘loop_shop_per_p…’, 16) #3 /home/qfixcomb/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(100): Automattic\WooCommerce\Blocks\BlockTypes\ProductQuery->enqueue_data() #4 /home/qfixcomb/public_html/wp-includes/class-wp-hook.php(310): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_editor_assets(”) #5 /home/qfixcomb/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #6 /home/qfixcomb/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /home/qfixcomb/public_html/wp-admin/edit-form-blocks.php(272): do_action(‘enqueue_block_e…’) #8 /home/qfixcomb/public_html/wp-admin/post-new.php(72): require(‘/home/qfixcomb/…’) #9 {main} thrown in?/home/qfixcomb/public_html/wp-content/themes/electro/inc/woocommerce/functions.php?on line?97
please find the error screenshot form below google drive link.
https://drive.google.com/file/d/1wbA0CzXQtRlwtZDvPIJ-GzxNpuPQ3yM0/view?usp=sharing
The page I need help with: [log in to see the link]
- The topic ‘Fatal error in WooCommerce’ is closed to new replies.