Title: [Fixed] New method, error when sending email
Last modified: August 30, 2016

---

# [Fixed] New method, error when sending email

 *  [komani](https://wordpress.org/support/users/komani/)
 * (@komani)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/help-new-method-error-when-sending-email/)
 * Hi guys,
    I have installed a plugin called YITH Woocommerce Request A Quote and
   it is almost fully functional on my website. Everything works except for the 
   following error that pops up when you press the “Send request” button:
 * _**Warning:** call\_user\_func\_array() expects parameter 1 to be a valid callback,
   class ‘WC\_Emails’ does not have a method ‘send\_transactional\_email’ in
    **/
   public\_html/wp-includes/plugin.php** on line **505**
 * I have tried a lot of things to fix this but it just won’t work. It is weird 
   because I have another contact form on my website which works just fine.
    Here
   is a screenshot of the related lines in plugin.php: [http://postimg.org/image/eng5eru39/](http://postimg.org/image/eng5eru39/)
 * Here it is in text if you can’t see the screenshot:
 *     ```
       do {
             foreach ( (array) current($wp_filter[$tag]) as $the_ )
                if ( !is_null($the_['function']) )
                   call_user_func_array($the_['function'], array_slice($args, 0, (int) $the_['accepted_args']));
          } while ( next($wp_filter[$tag]) !== false );
          array_pop($wp_current_filter);
       }
       ```
   
 * I really hope someone can help, this has really been bugging me.
    Thanks in advance.

Viewing 1 replies (of 1 total)

 *  Thread Starter [komani](https://wordpress.org/support/users/komani/)
 * (@komani)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/help-new-method-error-when-sending-email/#post-6501966)
 * Crushed the error finally!! Updated WooCommerce and boom! Error terminated

Viewing 1 replies (of 1 total)

The topic ‘[Fixed] New method, error when sending email’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [komani](https://wordpress.org/support/users/komani/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/help-new-method-error-when-sending-email/#post-6501966)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
