Title: Fatal error
Last modified: July 6, 2026

---

# Fatal error

 *  [goverticalch](https://wordpress.org/support/users/goverticalch/)
 * (@goverticalch)
 * [1 week ago](https://wordpress.org/support/topic/fatal-error-4990/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-4990%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [1 week ago](https://wordpress.org/support/topic/fatal-error-4990/#post-18956956)
 * Thanks for reaching out [@goverticalch](https://wordpress.org/support/users/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](https://github.com/google/site-kit-wp/issues/11049).
   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](https://i.imgur.com/Rtkmsba.png). You can[ use this form](https://docs.google.com/forms/d/1lhjns2K7c0Ny7ME4gxTcsnYtNUtcMr8BvFpPQi23Y1E/)
       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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-4990%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/google-site-kit/assets/icon-256x256.png?rev=3606666)
 * [Site Kit by Google - Analytics, Search Console, AdSense, Speed](https://wordpress.org/plugins/google-site-kit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-site-kit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-site-kit/)
 * [Active Topics](https://wordpress.org/support/plugin/google-site-kit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-site-kit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-site-kit/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * Last activity: [1 week ago](https://wordpress.org/support/topic/fatal-error-4990/#post-18956956)
 * Status: not resolved