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

PHP warnings in search results

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.3.14-RC1
    • 3.3.13
    • Search
    • None
    • PHP 8
      MySQL Fulltext, phpBB Native Fulltext

      Search results load PHP warnings like:

       

      [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 406: Undefined array key 0
      [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 406: Trying to access array offset on value of type null
      [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 413: Trying to access array offset on value of type bool
      [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 406: Undefined array key 0
      [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 406: Trying to access array offset on value of type null
      [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 413: Trying to access array offset on value of type bool
      [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4183: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3068)
      [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4183: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3068)
      [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4183: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3068)
      [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4183: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3068)

       

      Reproducing steps aren't clear, although I was able to reproduce it on localhost test board by set Default number of returned characters to 10. Other people are getting this with the setting value of 300 (default), probably keywords && posts length dependent.

            Marc Marc
            rxu rxu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: