Title: FATAL Error
Last modified: May 17, 2022

---

# FATAL Error

 *  [thekentongroup](https://wordpress.org/support/users/thekentongroup/)
 * (@thekentongroup)
 * [4 years ago](https://wordpress.org/support/topic/fatal-error-4155/)
 * Sorry if this is a silly question, but I am running Elementor Pro and have been
   struggling to get the Request for quote tool working.
 * After figuring out the call for the webhook for the Add to quote button, I thought
   I had cracked it – seems not.
 * I can build the quote but when I go to send it it’s a fatal error (see below).
   I am assuming I am missing some calls somewhere.
 * `Fatal error: Uncaught TypeError: Unsupported operand types: string * int in /
   homepages/19/d910037378/htdocs/clickandbuilds/TheKentonGroup/wp-content/plugins/
   woocommerce/includes/class-wc-cart.php:2032 Stack trace: #0 /homepages/19/d910037378/
   htdocs/clickandbuilds/TheKentonGroup/wp-content/plugins/yith-woocommerce-request-
   a-quote/templates/emails/request-quote.php(59): WC_Cart->get_product_subtotal(
   Object(WC_Product_Simple), 4) #1 /homepages/19/d910037378/htdocs/clickandbuilds/
   TheKentonGroup/wp-content/plugins/woocommerce/includes/wc-core-functions.php(
   345): include('/homepages/19/d...') #2 /homepages/19/d910037378/htdocs/clickandbuilds/
   TheKentonGroup/wp-content/plugins/yith-woocommerce-request-a-quote/includes/emails/
   class.yith-ywraq-send-email-request-quote.php(130): wc_get_template('emails/request-...',
   Array, '', '/homepages/19/d...') #3 /homepages/19/d910037378/htdocs/clickandbuilds/
   TheKentonGroup/wp-content/plugins/woocommerce/includes/emails/class-wc-email.
   php(545): YITH_YWRAQ_Send_Email_Request_Quote->get_content_html() #4 /homepages/
   19/d910037378/htdocs/clickandbuilds/TheKentonGroup/wp-content/plugins/yith-woocommerce-
   request-a-quote/includes/emails/class.yith-ywraq-send-email-request-quote.php(
   81): WC_Email->get_content() #5 /homepages/19/d910037378/htdocs/clickandbuilds/
   TheKentonGroup/wp-includes/class-wp-hook.php(307): YITH_YWRAQ_Send_Email_Request_Quote-
   >trigger(Array) #6 /homepages/19/d910037378/htdocs/clickandbuilds/TheKentonGroup/
   wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #7 /homepages/
   19/d910037378/htdocs/clickandbuilds/TheKentonGroup/wp-includes/plugin.php(522):
   WP_Hook->do_action(Array) #8 /homepages/19/d910037378/htdocs/clickandbuilds/TheKentonGroup/
   wp-content/plugins/woocommerce/includes/class-wc-emails.php(170): do_action_ref_array('
   send_raq_mail_n...', Array) #9 /homepages/19/d910037378/htdocs/clickandbuilds/
   TheKentonGroup/wp-includes/class-wp-hook.php(307): WC_Emails::send_transactional_email(
   Array) #10 /homepages/19/d910037378/htdocs/clickandbuilds/TheKentonGroup/wp-includes/
   class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #11 /homepages/19/d910037378/
   htdocs/clickandbuilds/TheKentonGroup/wp-includes/plugin.php(474): WP_Hook->do_action(
   Array) #12 /homepages/19/d910037378/htdocs/clickandbuilds/TheKentonGroup/wp-content/
   plugins/yith-woocommerce-request-a-quote/includes/class.yith-request-quote.php(
   598): do_action('send_raq_mail', Array) #13 /homepages/19/d910037378/htdocs/clickandbuilds/
   TheKentonGroup/wp-includes/class-wp-hook.php(307): YITH_Request_Quote->send_message('')#
   14 /homepages/19/d910037378/htdocs/clickandbuilds/TheKentonGroup/wp-includes/
   class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #15 /homepages/19/
   d910037378/htdocs/clickandbuilds/TheKentonGroup/wp-includes/plugin.php(474): 
   WP_Hook->do_action(Array) #16 /homepages/19/d910037378/htdocs/clickandbuilds/
   TheKentonGroup/wp-settings.php(587): do_action('init') #17 /homepages/19/d910037378/
   htdocs/clickandbuilds/TheKentonGroup/wp-config.php(107): require_once('/homepages/
   19/d...') #18 /homepages/19/d910037378/htdocs/clickandbuilds/TheKentonGroup/wp-
   load.php(50): require_once('/homepages/19/d...') #19 /homepages/19/d910037378/
   htdocs/clickandbuilds/TheKentonGroup/wp-blog-header.php(13): require_once('/homepages/
   19/d...') #20 /homepages/19/d910037378/htdocs/clickandbuilds/TheKentonGroup/index.
   php(17): require('/homepages/19/d...') #21 {main} thrown in /homepages/19/d910037378/
   htdocs/clickandbuilds/TheKentonGroup/wp-content/plugins/woocommerce/includes/
   class-wc-cart.php on line 2032`
    -  This topic was modified 4 years ago by [thekentongroup](https://wordpress.org/support/users/thekentongroup/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-4155%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [German F](https://wordpress.org/support/users/germanf14/)
 * (@germanf14)
 * [4 years ago](https://wordpress.org/support/topic/fatal-error-4155/#post-15653373)
 * Hi [@thekentongroup](https://wordpress.org/support/users/thekentongroup/),
    It
   seems that there is a problem with the price of a product. Could you check that
   the prices of your products are configured correctly?

Viewing 1 replies (of 1 total)

The topic ‘FATAL Error’ is closed to new replies.

 * ![](https://ps.w.org/yith-woocommerce-request-a-quote/assets/icon-128x128.gif?
   rev=3234570)
 * [YITH Request a Quote for WooCommerce](https://wordpress.org/plugins/yith-woocommerce-request-a-quote/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-request-a-quote/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-request-a-quote/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-request-a-quote/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-request-a-quote/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-request-a-quote/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [German F](https://wordpress.org/support/users/germanf14/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/fatal-error-4155/#post-15653373)
 * Status: not resolved