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

Missing $request globalizations in includes/functions.php

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-a1
    • Component/s: None
    • Labels:
      None

      Description

      Enable topic tracking for guests, as a guest search for unread topics:

      [phpBB Debug] PHP Notice: in file /includes/functions.php on line 1403: Undefined variable: request
       
      Fatal error: Call to a member function variable() on a non-object in /htdocs/pie/qi/boards/t3/includes/functions.php on line 1403
      

      The line number is good with https://github.com/phpbb/phpbb3/pull/69.

      There are multiple cases of missing $request globalization throughout includes/functions.php.

      This also affects viewtopic, essentially rendering the board unusable for guests with guest topic tracking on.

        Attachments

          Activity

            People

            • Assignee:
              Oleg Oleg [X] (Inactive)
              Reporter:
              Oleg Oleg [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: