Title: Germanized Fatal error
Last modified: December 1, 2020

---

# Germanized Fatal error

 *  Resolved [ooshenooo](https://wordpress.org/support/users/ooshenooo/)
 * (@ooshenooo)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/germanized-fatal-error/)
 * Hey, if someone is trying to send a Quote, he’ll get this error, caused by germanized:
 * Fatal error: Uncaught ArgumentCountError: Too few arguments to function WC_GZD_Emails::
   add_bcc_email_headers(), 3 passed in /var/www/k10569-1/apps/cwik/wp-includes/
   class-wp-hook.php on line 287 and exactly 4 expected in /var/www/k10569-1/apps/
   cwik/wp-content/plugins/woocommerce-germanized/includes/class-wc-gzd-emails.php:
   153 Stack trace: #0 /var/www/k10569-1/apps/cwik/wp-includes/class-wp-hook.php(
   287): WC_GZD_Emails->add_bcc_email_headers(‘Reply-to: seva….’, ‘ywraq_email’,
   NULL) #1 /var/www/k10569-1/apps/cwik/wp-includes/plugin.php(206): WP_Hook->apply_filters(‘
   Reply-to: seva….’, Array) #2 /var/www/k10569-1/apps/cwik/wp-content/plugins/yith-
   woocommerce-request-a-quote/includes/emails/class.yith-ywraq-send-email-request-
   quote.php(106): apply_filters(‘woocommerce_ema…’, ‘Reply-to: seva….’, ‘ywraq_email’,
   NULL) #3 /var/www/k10569-1/apps/cwik/wp-content/plugins/yith-woocommerce-request-
   a-quote/includes/emails/class.yith-ywraq-send-email-request-quote.php(81): YITH_YWRAQ_Send_Email_Request_Quote-
   >get_headers() #4 /var in /var/www/k10569-1/apps/cwik/wp-content/plugins/woocommerce-
   germanized/includes/class-wc-gzd-emails.php on line 153
    Es gab einen kritischen
   Fehler auf deiner Website.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [vendidero](https://wordpress.org/support/users/vendidero/)
 * (@vendidero)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/germanized-fatal-error/#post-13730631)
 * Hi there,
 * the error is actually not caused by Germanized (as we are using the official 
   and newest Woo API) but your “Quote” Plugin which seems to call the `woocommerce_email_attachments`
   filter by using fewer arguments (3) than Woo (4) does in it’s core. Please see:
   
   [https://github.com/woocommerce/woocommerce/blob/7659b984dcbcce6eb374205f3d4a92380d04f7a9/includes/emails/class-wc-email.php#L430](https://github.com/woocommerce/woocommerce/blob/7659b984dcbcce6eb374205f3d4a92380d04f7a9/includes/emails/class-wc-email.php#L430)
 * And please report to the Quote Plugin developers by using the reference from 
   above.
 * Cheers
 *  Thread Starter [ooshenooo](https://wordpress.org/support/users/ooshenooo/)
 * (@ooshenooo)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/germanized-fatal-error/#post-13730754)
 * Ah well, thanks for that quick response.
 * I just wondered. If I disable the germanized plugin, it works.
 *  Plugin Author [vendidero](https://wordpress.org/support/users/vendidero/)
 * (@vendidero)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/germanized-fatal-error/#post-13734346)
 * Hi there,
 * yes, of course – that will not trigger the problem as no other plugin might be
   using that specific WooCommerce hook (which Germanized uses as described above)
   to add some functionality. I’ll guess if you deactivate the Quote plugin, the
   problem is gone too. That’s why deactivating a plugin is not a valid argument
   here 🙂
 * Cheers
 *  [mindbreak](https://wordpress.org/support/users/mindbreak/)
 * (@mindbreak)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/germanized-fatal-error/#post-13741462)
 * I have the same Problem but not the Quote Plugin.
 * Fatal error: Uncaught ArgumentCountError: Too few arguments to function WC_GZD_Emails::
   add_bcc_email_headers(), 3 passed in /var/www/html/shop_org/wp-includes/class-
   wp-hook.php on line 286 and exactly 4 expected in /var/www/html/shop_org/wp-content/
   plugins/woocommerce-germanized/includes/class-wc-gzd-emails.php:153 Stack trace:#
   0 /var/www/html/shop_org/wp-includes/class-wp-hook.php(286): WC_GZD_Emails->add_bcc_email_headers(”,‘
   backorder’, Array) #1 /var/www/html/shop_org/wp-includes/plugin.php(203): WP_Hook-
   >apply_filters(”, Array) #2 /var/www/html/shop_org/wp-content/plugins/woocommerce/
   includes/class-wc-emails.php(681): apply_filters(‘woocommerce_ema…’, ”, ‘backorder’,
   Array) #3 /var/www/html/shop_org/wp-includes/class-wp-hook.php(286): WC_Emails-
   >backorder(Array) #4 /var/www/html/shop_org/wp-includes/class-wp-hook.php(310):
   WP_Hook->apply_filters(”, Array) #5 /var/www/html/shop in /var/www/html/shop_org/
   wp-content/plugins/woocommerce-germanized/includes/class-wc-gzd-emails.php on
   line 153
    `
 *  Plugin Author [vendidero](https://wordpress.org/support/users/vendidero/)
 * (@vendidero)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/germanized-fatal-error/#post-13744968)
 * Hi [@mindbreak](https://wordpress.org/support/users/mindbreak/),
 * seems like you are using another plugin/theme which does use the same filter (
   in a wrong way). Please try deactivating one extension after another to check
   that and make sure you are using at least WooCommerce version 3.9.
 * Cheers
 *  Thread Starter [ooshenooo](https://wordpress.org/support/users/ooshenooo/)
 * (@ooshenooo)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/germanized-fatal-error/#post-13754362)
 * Hey, Yith just fixed the issue in the new Patch 1.6.0.
 *  [mindbreak](https://wordpress.org/support/users/mindbreak/)
 * (@mindbreak)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/germanized-fatal-error/#post-13775374)
 * Hi [@vendidero](https://wordpress.org/support/users/vendidero/),
 * thanks. I was on WordPress 4.9.x. I updated all. Now it works.
    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Germanized Fatal error’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-germanized/assets/icon.svg?rev=2377234)
 * [Germanized for WooCommerce](https://wordpress.org/plugins/woocommerce-germanized/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-germanized/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-germanized/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-germanized/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-germanized/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-germanized/reviews/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [Germanized](https://wordpress.org/support/topic-tag/germanized/)

 * 7 replies
 * 3 participants
 * Last reply from: [mindbreak](https://wordpress.org/support/users/mindbreak/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/germanized-fatal-error/#post-13775374)
 * Status: resolved