Mktime Error?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Revolution Yes
    Member
    • Dec 2007
    • 68
    • 3.8.x

    Mktime Error?

    Hello,

    Whilst viewing a member profile I noticed this message at the top of the screen:

    Warning: mktime() expects parameter 4 to be long, string given in [path]/includes/class_userprofile.php on line 260

    Can anyone enlighten me as to what this means, and what could have caused it, and more importantly how to resolve the issue? I guess it's important to find solutions to such things asap rather than allow them to manifest into bigger problems.

    (I do have the usual modifications on my board, if you need me to list them then I shall glady do so.)

    I'm running php 5.2.5, if that helps.

    Thanks in advance
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    Check that user's birthdate in the Admin CP. What does it show?
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

    • dymudda
      New Member
      • May 2008
      • 18
      • 3.7.x

      #3
      i get that same error on all users i imported from phpBB 2.0.23... how do i resolve that?

      Comment

      • Fireproof
        Member
        • Mar 2007
        • 46

        #4
        Originally posted by Steve Machol
        Check that user's birthdate in the Admin CP. What does it show?
        I had the same error as above. I checked the birthdate and noticed it was an imported user who had no Month, no Day, and the year was 1900.

        So I made up a birthday for him and saved it. Now the error is gone!

        Thanks.

        Comment

        • ka81
          New Member
          • Sep 2005
          • 22
          • 4.1.x

          #5
          i got a lot of users with date - xx-xx-1900

          how to make them "normal" with "one-click" move ?



          by the way:
          pan Oleksiy

          Comment

          Related Topics

          Collapse

          Working...