Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-16274

compact() calls with undefined variables in search.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.3.0
    • 3.3.0-RC1
    • Search
    • PHP 7.4

      ./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
      

       

       

            Marc Marc
            3Di 3Di [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: