• Resolved RTalal

    (@rtalal)


    After upgrading to WP 3.8, I got the following Warnings in Admin area:

    Recently Published
    
    Warning: date() expects parameter 2 to be long, string given in /home/USER/public_html/wp-admin/includes/dashboard.php on line 603
    
    Warning: date() expects parameter 2 to be long, string given in /home/USER/public_html/wp-admin/includes/dashboard.php on line 605
    
    Warning: date() expects parameter 2 to be long, string given in /home/USER/public_html/wp-includes/functions.php on line 105
    
    Warning: date() expects parameter 2 to be long, string given in /home/USER/public_html/wp-includes/functions.php on line 107
    
    Warning: date() expects parameter 2 to be long, string given in /home/USER/public_html/wp-includes/functions.php on line 109
    
    Warning: date() expects parameter 2 to be long, string given in /home/USER/public_html/wp-includes/functions.php on line 110

    [Date and title of Some post]

    Then same Warnings followed by Date and title of second post.
    This is repeated four times.

    I found these posts, but they are for plugins none of which is installed on my site:

    ww.wp.xz.cn/support/topic/325573
    ww.wp.xz.cn/support/topic/1298072
    ww.wp.xz.cn/support/topic/782010
    ww.wp.xz.cn/support/topic/681856

    Any idea why is this happening or how to adapt the solutions on these links for this case?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    – re-uploading all files & folders – except the wp-content folder and wp-config.php & root .htaccess files – from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

    Thread Starter RTalal

    (@rtalal)

    Thank you for the advice:

    First step worked:
    I deactivated all plugins and the problem resolved.
    Re-activating plugings showed that “Hijri” is the cause!

    I have checked the plugin page. It has not been updated for two years.
    I just uninstalled it and had no errors till now.

    I made a comment on the plugin page.

    Thread Starter RTalal

    (@rtalal)

    Well, it seems that’s all!

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

The topic ‘Warning: date() expects parameter 2 to be long; dashboard.php functions.php’ is closed to new replies.