Title: DanielPtr's Replies | WordPress.org

---

# DanielPtr

  [  ](https://wordpress.org/support/users/danielptr/)

 *   [Profile](https://wordpress.org/support/users/danielptr/)
 *   [Topics Started](https://wordpress.org/support/users/danielptr/topics/)
 *   [Replies Created](https://wordpress.org/support/users/danielptr/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/danielptr/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/danielptr/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/danielptr/engagements/)
 *   [Favorites](https://wordpress.org/support/users/danielptr/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] 3.0 Issues: Cannot Add Order, email not sent for new order or other status](https://wordpress.org/support/topic/3-0-issues-cannot-add-order-email-not-sent-for-new-order-or-other-status/)
 *  [DanielPtr](https://wordpress.org/support/users/danielptr/)
 * (@danielptr)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/3-0-issues-cannot-add-order-email-not-sent-for-new-order-or-other-status/page/2/#post-9034241)
 * Do you know for sure you pasted the snippet in your active functions.php file,
   that is, in the functions.php file of your current theme (or child theme)?
    Check
   if you have the newest Woocommerce version (3.0.1). Disable all your Woocommerce
   plugins and check if the mails will send now. If not, disable all plugins and
   check. Good luck 🍀!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] 3.0 Issues: Cannot Add Order, email not sent for new order or other status](https://wordpress.org/support/topic/3-0-issues-cannot-add-order-email-not-sent-for-new-order-or-other-status/)
 *  [DanielPtr](https://wordpress.org/support/users/danielptr/)
 * (@danielptr)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/3-0-issues-cannot-add-order-email-not-sent-for-new-order-or-other-status/page/2/#post-9021704)
 * Yes, I agree about the official acknowledgement. Maybe you could test the snippet
   with a test order, so you don’t have to wait?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] 3.0 Issues: Cannot Add Order, email not sent for new order or other status](https://wordpress.org/support/topic/3-0-issues-cannot-add-order-email-not-sent-for-new-order-or-other-status/)
 *  [DanielPtr](https://wordpress.org/support/users/danielptr/)
 * (@danielptr)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/3-0-issues-cannot-add-order-email-not-sent-for-new-order-or-other-status/page/2/#post-9016798)
 * I’m glad it helped. Credits for the original github poster.
 * I hope the Woocommerce developers will come soon with a more permanent fix.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] 3.0 Issues: Cannot Add Order, email not sent for new order or other status](https://wordpress.org/support/topic/3-0-issues-cannot-add-order-email-not-sent-for-new-order-or-other-status/)
 *  [DanielPtr](https://wordpress.org/support/users/danielptr/)
 * (@danielptr)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/3-0-issues-cannot-add-order-email-not-sent-for-new-order-or-other-status/#post-9016501)
 * It looks like the problems are because of the new deferring of order emails (
   for extra performance during the checkout). I’ve found this website with solution:
   [https://github.com/woocommerce/woocommerce/issues/14151](https://github.com/woocommerce/woocommerce/issues/14151)
 * In short, you have to add
    `add_filter( 'woocommerce_defer_transactional_emails','
   __return_false' );` to the functions.php file of your WordPress theme. This removes
   the new function for deferring emails. For me, this was the solution. Be sure
   you know what you are doing when you change your functions.php file!
 * Good luck.
    -  This reply was modified 9 years, 2 months ago by [DanielPtr](https://wordpress.org/support/users/danielptr/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [JavaScript error while logging in (wp-login.php)](https://wordpress.org/support/topic/javascript-error-while-logging-in-wp-loginphp/)
 *  Thread Starter [DanielPtr](https://wordpress.org/support/users/danielptr/)
 * (@danielptr)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/javascript-error-while-logging-in-wp-loginphp/#post-2861088)
 * You are brilliant! That was indeed the cause of the error. I’ve installed another
   plugin for the logo, and no problems so far. Thanks!

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