• Hello, I’ve recently updated my websites to 3.8 and their all running smoothly but I have an error report on my admin panel that is bugging me nonetheless.

    It displays under “Activity” and reads:

    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

    Can anyone help me with this?

    Thanks in advance!

Viewing 13 replies - 1 through 13 (of 13 total)
  • akapellos

    (@salat-production)

    date() function bug

    $this->expiry_date = date(“m/d/Y”, strtotime($rows[‘expiry_date’]));

    Thread Starter S3nd41

    (@s3nd41)

    Thank you very much for your reply.
    Can you tell me which file do I have to change that string on?

    Thread Starter S3nd41

    (@s3nd41)

    I think it’s a problem with the qTranslate plugin date rewrite, I’m going to try to use another option.

    Thank you very much for your time!

    akapellos

    (@salat-production)

    i dunno why there r so many errors, but check /wp-includes/functions.php first
    Yep it maybe plugin that not compatible with last wp version

    Thread Starter S3nd41

    (@s3nd41)

    It stopped displaying the error when I changed 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.”

    I’ll leave it here in case anyone else has the same problem, going to report it on the plug-ins support section.

    Thanks!

    akapellos

    (@salat-production)

    GL HF ??

    i face same problem… when i update wordpress then i face same problem. this problem occur with my theme and new version wordpress. when i change this theme then i don’t face this problem… how i can solve this with my theme.. anyone can help me?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    @realitsolution, which theme are you referring to?

    this is premium theme… not wordpress .org theme..

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Then it may be best to contact your theme’s vendors/ authors about this. Or try hiring someone at WP Jobs or CodePoet to resolve this for you.

    I have lost page editing ability. I can get to the page, but edit link times out.
    Anyone have any insights?
    Thanks

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Thanks S3nd41, it works, i’ve chose “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 …..
    and now message described above disappeared from activities
    Thanks a lot

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Error on admin panel after updating to 3.8’ is closed to new replies.