• goverticalch

    (@goverticalch)


    Fatal error: Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, string given in /home/s2yizei/public_html/wp-content/plugins/google-site-kit/includes/Core/Conversion_Tracking/Conversion_Event_Providers/WooCommerce.php:332 Stack trace: #0 /home/s2yizei/public_html/wp-content/plugins/google-site-kit/includes/Core/Conversion_Tracking/Conversion_Event_Providers/WooCommerce.php(332): array_map() #1 /home/s2yizei/public_html/wp-content/plugins/google-site-kit/includes/Core/Conversion_Tracking/Conversion_Event_Providers/WooCommerce.php(232): Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers\WooCommerce->get_formatted_product() #2 /home/s2yizei/public_html/wp-includes/class-wp-hook.php(343): Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers\WooCommerce->Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers\{closure}() #3 /home/s2yizei/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #4 /home/s2yizei/public_html/wp-content/plugins/woocommerce/templates/loop/add-to-cart.php(26): apply_filters() #5 /home/s2yizei/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(352): include(‘/home/s2yizei/p…’) #6 /home/s2yizei/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1520): wc_get_template() #7 /home/s2yizei/public_html/wp-includes/class-wp-hook.php(341): woocommerce_template_loop_add_to_cart() #8 /home/s2yizei/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters() #9 /home/s2yizei/public_html/wp-includes/plugin.php(522): WP_Hook->do_action() #10 /home/s2yizei/public_html/wp-content/plugins/woocommerce/templates/content-product.php(65): do_action() #11 /home/s2yizei/public_html/wp-includes/template.php(816): require(‘/home/s2yizei/p…’) #12 /home/s2yizei/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(290): load_template() #13 /home/s2yizei/public_html/wp-content/themes/govertical/woocommerce/archive-product.php(67): wc_get_template_part() #14 /home/s2yizei/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(352): include(‘/home/s2yizei/p…’) #15 /home/s2yizei/public_html/wp-content/themes/govertical/woocommerce.php(79): wc_get_template() #16 /home/s2yizei/public_html/wp-includes/template-loader.php(132): include(‘/home/s2yizei/p…’) #17 /home/s2yizei/public_html/wp-blog-header.php(19): require_once(‘/home/s2yizei/p…’) #18 /home/s2yizei/public_html/index.php(17): require(‘/home/s2yizei/p…’) #19 {main} thrown in /home/s2yizei/public_html/wp-content/plugins/google-site-kit/includes/Core/Conversion_Tracking/Conversion_Event_Providers/WooCommerce.php on line 332
    Es gab einen kritischen Fehler auf Ihrer Website.

    Mehr über die Problembehandlung in WordPress erfahren (engl.).

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support James Osborne

    (@jamesosborne)

    Thanks for reaching out @goverticalch, and for sharing the stack trace within the support topic. From reviewing this the error and cause looks similar to that described in a recent GitHub issue. Based on you encountering this issue with this solution in place, it sounds like you may be using a theme or payment related plugin that is modifying the structure of the shop page that is not accounted for in that issue.

    To troubleshooting this further, please share the following:

    1. Your Site Health information. You can use this form to share privately if preferred.
    2. Does this occur sporadically when adding an item to the cart on the front end of your site, or do you see errors at other stages or on the Site Kit dashboard? I performed some checks and I didn’t encounter any such errors on the front end of your site.

    Let me know if you have any questions with the above. I’ll also check this with the team and let you know if I can find out more.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.