Announcement

Collapse
No announcement yet.

Warning: mktime() expects parameter 4 to be long

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Warning: mktime() expects parameter 4 to be long

    Just did a successful import from e107 and everything went fine.
    One problem though. If i click on a imported user a warning appears on the top of the screen.
    Warning: mktime() expects parameter 4 to be long, string given in [path]/includes/class_userprofile.php on line 260

    My guess is that the user's reputation or signature that cause this, but is it a easy way to fix it?

    EDIT: Oh yea, almost forgot. It's VB 3.8.5

  • #2
    Did you run all the Update Counter tools under Maintenance -> Update Counters?
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API - Full / Mobile
    Vote for your favorite feature requests and the bugs you want to see fixed.

    Comment


    • #3
      Not all of them, just the once that the manual mention.
      Which would be
      Rebuild Thread Information
      Rebuild Forum Information
      Rebuild Search Index

      Just noticed that line 260 in class_userprofile.php are
      $this->prepared['birthday'] = vbdate($this->registry->options['calformat2'], mktime(0, 0, 0, $bday[0], $bday[1], 1992), false, true, false);
      Last edited by jebediah; Thu 24 May '12, 1:27pm.

      Comment


      • #4
        Please start at the top of that page and run all the Update Counter tools.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API - Full / Mobile
        Vote for your favorite feature requests and the bugs you want to see fixed.

        Comment


        • #5
          I cant just run them all, Rebuild Statistics for an example will delete all user statistics
          Well, i give some of them a run again and see what happens.

          Comment


          • #6
            On an import there are no user statistics.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud demonstration site.
            vBulletin 5 API - Full / Mobile
            Vote for your favorite feature requests and the bugs you want to see fixed.

            Comment


            • #7
              But all the other earlier/older users then? The forum is old and the new import was just a complement.

              Nope, still the same. Have rerunned the whole process 3 times now with the same results
              Last edited by jebediah; Fri 25 May '12, 8:18am.

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...
              X