Problem with google for woocomerce
-
https://snipboard.io/HVKMUB.jpg
Hi i use theme woodmart and when google for woocomerce is active i get error like in screen when i turn off the plugin all working
php 8.4
[21-Sep-2025 15:26:33 UTC] PHP Fatal error: Uncaught TypeError: Automattic\WooCommerce\GoogleListingsAndAds\Google\GlobalSiteTag::maybe_display_conversion_and_purchase_event_snippets(): Argument #3 ($order_id) must be of type int, string given, called in /home/fqzqiwtw/public_html/wp-content/plugins/google-listings-and-ads/src/Google/GlobalSiteTag.php on line 125 and defined in /home/fqzqiwtw/public_html/wp-content/plugins/google-listings-and-ads/src/Google/GlobalSiteTag.php:354
Stack trace: 0 /home/fqzqiwtw/public_html/wp-content/plugins/google-listings-and-ads/src/Google/GlobalSiteTag.php(125): Automattic\WooCommerce\GoogleListingsAndAds\Google\GlobalSiteTag->maybe_display_conversion_and_purchase_event_snippets(‘AW-11557691372’, ‘tC1RCLPHpJkbEOy…’, ‘14999’) 1 /home/fqzqiwtw/public_html/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\GoogleListingsAndAds\Google\GlobalSiteTag->{closure:Automattic\WooCommerce\GoogleListingsAndAds\Google\GlobalSiteTag::register():124}(‘14999’) 2 /home/fqzqiwtw/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 3 /home/fqzqiwtw/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 4 /home/fqzqiwtw/public_html/wp-content/themes/woodmart/inc/modules/layouts/elementor/woocommerce/class-hook.php(279): do_action(‘woocommerce_bef…’, ‘14999’) 5 /home/fqzqiwtw/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(2374): XTS\Modules\Layouts\Hook->render() 6 /home/fqzqiwtw/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(636): Elementor\Controls_Stack->render_by_mode() 7 /home/fqzqiwtw/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(774): Elementor\Widget_Base->render_content() 8 /home/fqzqiwtw/public_html/wp-content/plugins/elementor/includes/base/element-base.php(492): Elementor\Widget_Base->print_content() 9 /home/fqzqiwtw/public_html/wp-content/plugins/elementor/includes/base/element-base.php(1453): Elementor\Element_Base->print_element() 10 /home/fqzqiwtw/public_html/wp-content/plugins/elementor/includes/base/element-base.php(492): Elementor\Element_Base->print_content() 11 /home/fqzqiwtw/public_html/wp-content/plugins/elementor/core/base/document.php(1888): Elementor\Element_Base->print_element() 12 /home/fqzqiwtw/public_html/wp-content/plugins/elementor/core/base/document.php(1804): Elementor\Core\Base\Document->do_print_elements(Array) 13 /home/fqzqiwtw/public_html/wp-content/plugins/elementor/core/base/document.php(1201): Elementor\Core\Base\Document->print_elements(Array) 14 /home/fqzqiwtw/public_html/wp-content/plugins/elementor/includes/frontend.php(1172): Elementor\Core\Base\Document->print_elements_with_wrapper(Array) 15 /home/fqzqiwtw/public_html/wp-content/plugins/elementor/includes/frontend.php(1240): Elementor\Frontend->get_builder_content(11536, false) 16 /home/fqzqiwtw/public_html/wp-content/themes/woodmart/inc/integrations/elementor/helpers.php(49): Elementor\Frontend->get_builder_content_for_display(11536, false) 17 /home/fqzqiwtw/public_html/wp-content/themes/woodmart/inc/functions.php(526): woodmart_elementor_get_content(11536) 18 /home/fqzqiwtw/public_html/wp-content/themes/woodmart/inc/modules/layouts/class-layout-type.php(69): woodmart_get_post_content(11536) 19 /home/fqzqiwtw/public_html/wp-content/themes/woodmart/inc/modules/layouts/class-thank-you-page.php(68): XTS\Modules\Layouts\Layout_Type->template_content(‘thank_you_page’) 20 /home/fqzqiwtw/public_html/wp-content/themes/woodmart/inc/modules/layouts/class-thank-you-page.php(51): XTS\Modules\Layouts\Thank_You_Page->display_template() 21 /home/fqzqiwtw/public_html/wp-includes/class-wp-hook.php(324): XTS\Modules\Layouts\Thank_You_Page->override_template(‘/home/fqzqiwtw/…’) 22 /home/fqzqiwtw/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘/home/fqzqiwtw/…’, Array) 23 /home/fqzqiwtw/public_html/wp-includes/template-loader.php(104): apply_filters(‘template_includ…’, ‘/home/fqzqiwtw/…’) 24 /home/fqzqiwtw/public_html/wp-blog-header.php(19): require_once(‘/home/fqzqiwtw/…’) 25 /home/fqzqiwtw/public_html/index.php(17): require(‘/home/fqzqiwtw/…’) 26 {main}
The topic ‘Problem with google for woocomerce’ is closed to new replies.