Title: Error since WooCommerce update
Last modified: May 2, 2017

---

# Error since WooCommerce update

 *  Resolved [nadavss](https://wordpress.org/support/users/nadavss/)
 * (@nadavss)
 * [9 years ago](https://wordpress.org/support/topic/error-since-woocommerce-update/)
 * Hi,
 * Your plugin’s done wonders for our emails!
 * But since updating to WooCommerce 3.0, there’s a strange error. On some emails,(
   i.e. Customer Note), the borders of some of the fields have been unbolded. On
   other emails (i.e. Completed Order), they appear as they should. Please click
   on this image for a comparison of the two emails: [http://imgur.com/a/7j8Qe](http://imgur.com/a/7j8Qe)
 * I don’t know if this connected, but since the update we’ve also been getting 
   a “Warning: date() expects parameter 2 to be long, object given in” …/public_html/
   wp-includes/functions.php on lines 104, 106 and 109.
 * Would you know if these errors are related to the update, and is there anything
   we can do about it?
 * Thanks.

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

 *  Thread Starter [nadavss](https://wordpress.org/support/users/nadavss/)
 * (@nadavss)
 * [9 years ago](https://wordpress.org/support/topic/error-since-woocommerce-update/#post-9097466)
 * Hi, just a follow-up to let you know that it’s not your plugin causing the issue.
   It was caused by an update to another plugin that was overriding WooCommerce 
   email files.
    Sorry for any inconvenience.
 * You should probably know that the error “Warning: date() expects parameter 2 
   to be long, object given in” is still showing, although it doesn’t seem to be
   affecting anything.
 *  [mrjey92](https://wordpress.org/support/users/mrjey92/)
 * (@mrjey92)
 * [9 years ago](https://wordpress.org/support/topic/error-since-woocommerce-update/#post-9100636)
 * Hi im getting same warnings “Warning: date() expects parameter 2 to be long, 
   object given in” right after checkout! How do i get rid of it, any help?
 *  [RightPress](https://wordpress.org/support/users/rightpress/)
 * (@rightpress)
 * [9 years ago](https://wordpress.org/support/topic/error-since-woocommerce-update/#post-9108680)
 * Hi there,
 * Thank you for reporting this issue.
 * I just released version 1.0.3 of the plugin which should solve the problem.
 * Paul
 *  Thread Starter [nadavss](https://wordpress.org/support/users/nadavss/)
 * (@nadavss)
 * [9 years ago](https://wordpress.org/support/topic/error-since-woocommerce-update/#post-9108999)
 * Thanks Paul, I’m no longer seeing the error after updating just now.
 *  [mrjey92](https://wordpress.org/support/users/mrjey92/)
 * (@mrjey92)
 * [9 years ago](https://wordpress.org/support/topic/error-since-woocommerce-update/#post-9110063)
 * Which plugin are you talking about? Im still getting it!!
 *  [RightPress](https://wordpress.org/support/users/rightpress/)
 * (@rightpress)
 * [9 years ago](https://wordpress.org/support/topic/error-since-woocommerce-update/#post-9111167)
 * Well, this plugin – Decorator 🙂
 * Are you sure you are running Decorator version 1.0.3 and seeing the “date() expects
   parameter 2 to be long” error?
 * Paul
 *  [mrjey92](https://wordpress.org/support/users/mrjey92/)
 * (@mrjey92)
 * [9 years ago](https://wordpress.org/support/topic/error-since-woocommerce-update/#post-9112169)
 * No im not using Decorator plugin. but i get this warning right after finish the
   checkout. Under order details where its supposed to say date
 *  [RightPress](https://wordpress.org/support/users/rightpress/)
 * (@rightpress)
 * [9 years ago](https://wordpress.org/support/topic/error-since-woocommerce-update/#post-9112202)
 * This particular support thread is for a bug in Decorator which is now fixed.
 * If you are not using Decorator, then your issue is unrelated and is caused by
   some other plugin/theme/code on your site in which case there’s nothing I can
   do to help, unfortunately.
 * Paul
 *  [mrjey92](https://wordpress.org/support/users/mrjey92/)
 * (@mrjey92)
 * [9 years ago](https://wordpress.org/support/topic/error-since-woocommerce-update/#post-9112225)
 * Oh sorry! I was looking for help and come over to this.
 *  [mrjey92](https://wordpress.org/support/users/mrjey92/)
 * (@mrjey92)
 * [9 years ago](https://wordpress.org/support/topic/error-since-woocommerce-update/#post-9112233)
 * But if this is fixed so its mane the code functions.php on lines 104, 106 and
   109 has been changed?
 *  [RightPress](https://wordpress.org/support/users/rightpress/)
 * (@rightpress)
 * [9 years ago](https://wordpress.org/support/topic/error-since-woocommerce-update/#post-9112256)
 * No, those lines are fine, the problem was with a variable that our plugin Decorator
   was passing to WordPress date() function. The function itself is fine.
 * You have some other code on your site that is calling WordPress date() function
   incorrectly.
 * Paul
 *  [mrjey92](https://wordpress.org/support/users/mrjey92/)
 * (@mrjey92)
 * [9 years ago](https://wordpress.org/support/topic/error-since-woocommerce-update/#post-9112551)
 * Yeh you are right it was the thankyou.php file

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

The topic ‘Error since WooCommerce update’ is closed to new replies.

 * ![](https://ps.w.org/decorator-woocommerce-email-customizer/assets/icon-256x256.
   png?rev=3242989)
 * [WebToffee eCommerce Marketing Automation - Email marketing, Popups, Email customizer](https://wordpress.org/plugins/decorator-woocommerce-email-customizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/decorator-woocommerce-email-customizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/decorator-woocommerce-email-customizer/)
 * [Active Topics](https://wordpress.org/support/plugin/decorator-woocommerce-email-customizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/decorator-woocommerce-email-customizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/decorator-woocommerce-email-customizer/reviews/)

 * 12 replies
 * 3 participants
 * Last reply from: [mrjey92](https://wordpress.org/support/users/mrjey92/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/error-since-woocommerce-update/#post-9112551)
 * Status: resolved