Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.2.8
    • 3.2.7
    • None
    • PHP 7.1.28, MySQL 5.6, Firefox 68.0.1

      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

       

       

            mrgoldy mrgoldy
            Etabeta Etabeta [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: