Title: Strftime Bug
Last modified: August 21, 2016

---

# Strftime Bug

 *  [S3nd41](https://wordpress.org/support/users/s3nd41/)
 * (@s3nd41)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/strftime-bug/)
 * Hello,
 * After updating to 3.8 I’m getting the following errors:
 *     ```
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-admin/includes/dashboard.php on line 603
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-admin/includes/dashboard.php on line 605
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-includes/functions.php on line 105
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-includes/functions.php on line 107
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-includes/functions.php on line 109
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-includes/functions.php on line 110
       , 4:17 pm Introduction
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-admin/includes/dashboard.php on line 603
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-admin/includes/dashboard.php on line 605
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-includes/functions.php on line 105
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-includes/functions.php on line 107
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-includes/functions.php on line 109
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-includes/functions.php on line 110
       , 4:15 pm Services
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-admin/includes/dashboard.php on line 603
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-admin/includes/dashboard.php on line 605
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-includes/functions.php on line 105
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-includes/functions.php on line 107
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-includes/functions.php on line 109
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-includes/functions.php on line 110
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-admin/includes/dashboard.php on line 603
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-admin/includes/dashboard.php on line 605
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-includes/functions.php on line 105
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-includes/functions.php on line 107
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-includes/functions.php on line 109
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-includes/functions.php on line 110
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-admin/includes/dashboard.php on line 603
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-admin/includes/dashboard.php on line 605
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-includes/functions.php on line 105
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-includes/functions.php on line 107
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-includes/functions.php on line 109
   
       Warning: date() expects parameter 2 to be long, string given in /home/***/public_html/***/wp-includes/functions.php on line 110
       ```
   
 * Which are caused by the Srftime option. Changing it to “Use strftime instead 
   of date and replace formats with the predefined formats for each language.
    Depending
   on the mode selected, additional customizations of the theme may be needed.” 
   fixed it but I’m leaving this here so you can fix the normal “srftime” option
   on your next release
 * [http://wordpress.org/plugins/qtranslate/](http://wordpress.org/plugins/qtranslate/)

Viewing 1 replies (of 1 total)

 *  [Jacob N. Breetvelt](https://wordpress.org/support/users/opajaap/)
 * (@opajaap)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/strftime-bug/#post-4430306)
 * Still not fixed….

Viewing 1 replies (of 1 total)

The topic ‘Strftime Bug’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/qtranslate.svg)
 * [qTranslate](https://wordpress.org/plugins/qtranslate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/qtranslate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/qtranslate/)
 * [Active Topics](https://wordpress.org/support/plugin/qtranslate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/qtranslate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/qtranslate/reviews/)

## Tags

 * [date](https://wordpress.org/support/topic-tag/date/)
 * [long](https://wordpress.org/support/topic-tag/long/)
 * [parameter](https://wordpress.org/support/topic-tag/parameter/)
 * [string](https://wordpress.org/support/topic-tag/string/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jacob N. Breetvelt](https://wordpress.org/support/users/opajaap/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/strftime-bug/#post-4430306)
 * Status: not resolved