Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-13426

Timezone related fatal error after upgrade to 3.1.2

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.1.2
    • Fix Version/s: 3.1.4-RC1
    • Component/s: Viewing forums
    • Labels:
      None
    • Environment:
      PHP 5.4.35, mySQL 5.6.21

      Description

      Hi,

      My PHP error logs is full of errors, all same as:

      Dec 9 16:33:22 s1 in: PHP Warning: DateTime::setTimezone() expects parameter 1 to be DateTimeZone, null given in /home/.../forum/phpbb/user.php on line 721
      Dec 9 16:33:22 s1 in: PHP Warning: array_filter() expects parameter 1 to be array, null given in /home/.../forum/phpbb/datetime.php on line 156
      Dec 9 16:33:22 s1 in: PHP Warning: strtr(): The second argument is not an array in /home/.../forum/phpbb/datetime.php on line 120
      Dec 9 16:33:22 s1 in: PHP Fatal error: Call to a member function getName() on a non-object in /home/.../forum/includes/functions.php on line 4940

      Some members have complained about having random blank pages. I guess this is when this is triggered. Not entirely sure whats going on there, but clearly timezone is not set in some cases.

        Attachments

          Activity

            People

            • Assignee:
              nickvergessen Joas Schilling [X] (Inactive)
              Reporter:
              CheGuevara CheGuevara [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: