Fatal Error
-
I am in the process of building out my site. Whilst the shopical front page features work and create a nice looking homepage, if I attempt to go to pages -> edit I get the below error:
Fatal error: Uncaught Error: Call to a member function get_type() on null in /home/rynem/domains/thegamerlobby.com/public_html/wp-content/themes/shopical/inc/woocommerce.php:792 Stack trace: #0 /home/rynem/domains/thegamerlobby.com/public_html/wp-includes/class-wp-hook.php(288): shopical_add_to_cart_text(‘Add to cart’, Object(WC_Product_Simple)) #1 /home/rynem/domains/thegamerlobby.com/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters(‘Add to cart’, Array) #2 /home/rynem/domains/thegamerlobby.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-product-simple.php(62): apply_filters(‘woocommerce_pro…’, ‘Add to cart’, Object(WC_Product_Simple)) #3 /home/rynem/domains/thegamerlobby.com/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractProductGrid.php(470): WC_Product_Simple->add_to_cart_text() #4 /home/rynem/domains/thegamerlobby.com/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractProductGrid.php(443): Automa in /home/rynem/domains/thegamerlobby.com/public_html/wp-content/themes/shopical/inc/woocommerce.php on line 792
The page I need help with: [log in to see the link]
- The topic ‘Fatal Error’ is closed to new replies.