Support » Fixing WordPress » Error on admin panel after updating to 3.8

  • 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’]));

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

    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

    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 🙂

    realitsolution

    (@realitsolution)


    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?

    Moderator Andrew Nevins

    (@anevins)


    Forum moderator


    @realitsolution, which theme are you referring to?

    realitsolution

    (@realitsolution)


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

    Moderator Andrew Nevins

    (@anevins)


    Forum moderator


    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.

    bringlife

    (@bringlife)


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

    Moderator Andrew Nevins

    (@anevins)


    Forum moderator


    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.