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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.2.7
    • 3.2.8
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: