No announcement yet.

Mktime Error?

  • Filter
  • Time
  • Show
Clear All
new posts

  • Mktime Error?


    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

  • #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.


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


      • #4
        Originally posted by Steve Machol View Post
        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!



        • #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


          Related Topics