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

compact() calls with undefined variables in search.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.0-RC1
    • Fix Version/s: 3.3.0
    • Component/s: Search
    • Labels:
    • Environment:
      PHP 7.4

      Description

      ./search.php?author_id=x&sr=posts (where X is the user id)

       

      Click on the Search user's posts located in memberlist, viewtopic, viewprofile etc..

       

      [phpBB Debug] PHP Notice: in file [ROOT]/search.php on line 1261: compact(): Undefined variable: folder_img
      [phpBB Debug] PHP Notice: in file [ROOT]/search.php on line 1261: compact(): Undefined variable: folder_alt
      [phpBB Debug] PHP Notice: in file [ROOT]/search.php on line 1261: compact(): Undefined variable: topic_type
      [phpBB Debug] PHP Notice: in file [ROOT]/search.php on line 1261: compact(): Undefined variable: unread_topic
      [phpBB Debug] PHP Notice: in file [ROOT]/search.php on line 1261: compact(): Undefined variable: topic_unapproved
      [phpBB Debug] PHP Notice: in file [ROOT]/search.php on line 1261: compact(): Undefined variable: posts_unapproved
      [phpBB Debug] PHP Notice: in file [ROOT]/search.php on line 1261: compact(): Undefined variable: topic_deleted
      [phpBB Debug] PHP Notice: in file [ROOT]/search.php on line 1261: compact(): Undefined variable: u_mcp_queue
      

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Marc Marc
              Reporter:
              3Di 3Di
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: