Fatal Error
-
Getting the following error when trying to add WooCommerce’s One Page Checkout to a composite product that includes a variable product. I’ve tried multiple themes, but can’t get the one page checkout to load.
Otherwise, I’m able to use the traditional “product > cart > checkout” path.
2021-07-23T18:07:45+00:00 CRITICAL Uncaught TypeError: Argument 1 passed to Automattic\WooCommerce\GoogleListingsAndAds\Admin\Product\Attributes\VariationsAttributes::get_form() must be an instance of WC_Product_Variation, bool given, called in /home2/gljiwtmy/public_html/theclientgift/wp-content/plugins/google-listings-and-ads/src/Admin/Product/Attributes/VariationsAttributes.php on line 105 and defined in /home2/gljiwtmy/public_html/theclientgift/wp-content/plugins/google-listings-and-ads/src/Admin/Product/Attributes/VariationsAttributes.php:130 Stack trace: #0 /home2/gljiwtmy/public_html/theclientgift/wp-content/plugins/google-listings-and-ads/src/Admin/Product/Attributes/VariationsAttributes.php(105): Automattic\WooCommerce\GoogleListingsAndAds\Admin\Product\Attributes\VariationsAttributes->get_form(false, 0) #1 /home2/gljiwtmy/public_html/theclientgift/wp-content/plugins/google-listings-and-ads/src/Admin/Product/Attributes/VariationsAttributes.php(62): Automattic\WooCommerce\GoogleListingsAndAds\Admin\Product\Attributes\VariationsAttribut in /home2/gljiwtmy/public_html/theclientgift/wp-content/plugins/google-listings-and-ads/src/Admin/Product/Attributes/VariationsAttributes.php on line 130 2021-07-23T18:07:52+00:00 CRITICAL Uncaught TypeError: Argument 1 passed to Automattic\WooCommerce\GoogleListingsAndAds\Admin\Product\Attributes\VariationsAttributes::get_form() must be an instance of WC_Product_Variation, bool given, called in /home2/gljiwtmy/public_html/theclientgift/wp-content/plugins/google-listings-and-ads/src/Admin/Product/Attributes/VariationsAttributes.php on line 105 and defined in /home2/gljiwtmy/public_html/theclientgift/wp-content/plugins/google-listings-and-ads/src/Admin/Product/Attributes/VariationsAttributes.php:130 Stack trace: #0 /home2/gljiwtmy/public_html/theclientgift/wp-content/plugins/google-listings-and-ads/src/Admin/Product/Attributes/VariationsAttributes.php(105): Automattic\WooCommerce\GoogleListingsAndAds\Admin\Product\Attributes\VariationsAttributes->get_form(false, 0) #1 /home2/gljiwtmy/public_html/theclientgift/wp-content/plugins/google-listings-and-ads/src/Admin/Product/Attributes/VariationsAttributes.php(62): Automattic\WooCommerce\GoogleListingsAndAds\Admin\Product\Attributes\VariationsAttribut in /home2/gljiwtmy/public_html/theclientgift/wp-content/plugins/google-listings-and-ads/src/Admin/Product/Attributes/VariationsAttributes.php on line 130
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Fatal Error’ is closed to new replies.