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

PHP error (Array to string conversion) on new user registration if email address is banned and " Reason shown to the banned" is empty

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.7
    • Fix Version/s: 3.2.8
    • Labels:
      None
    • Environment:
      PHP 7.1.28, MySQL 5.6, Firefox 68.0.1

      Description

      When a new user try to create an account and entered a banned email address if, for the corrispondent banned entry, the filed "Reason shown to the banned" ("ban_give_reason" field in "phpbb_banlist" table) is empty, the following error is returned (instead of the proper warning message):

      [phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_user.php on line 1560: Array to string conversion

       

       

        Attachments

          Activity

            People

            • Assignee:
              mrgoldy mrgoldy
              Reporter:
              Etabeta Etabeta
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: