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

phpBB 3.3.0 PHP Fatal error (template\context::assign_block_vars())

    Details

      Description

      Hi there! After the update, I periodically get this error in the logs:

      I figured out where this error occurs. When a user tries to recover his password and does not enter it in the "confirm password" field correctly (so that passwords do not match) on the password recovery page, then an error occurs. I have emulated such situation and got this error.{{}}

      [08-Jan-2020 17:25:34 Europe/Kiev] PHP Fatal error: Uncaught TypeError: Argument 2 passed to phpbb\template\context::assign_block_vars() must be of the type array, string given, called in /home/layzee/public_html/forum/phpbb/template/context.php on line 252 and defined in /home/layzee/public_html/forum/phpbb/template/context.php:190
      Stack trace:
      #0 /home/layzee/public_html/forum/phpbb/template/context.php(252): phpbb\template\context->assign_block_vars('PASSWORD_RESET_...', 'The passwords y...')
      #1 /home/layzee/public_html/forum/phpbb/template/base.php(143): phpbb\template\context->assign_block_vars_array('PASSWORD_RESET_...', Array)
      #2 /home/layzee/public_html/forum/phpbb/ucp/controller/reset_password.php(429): phpbb\template\base->assign_block_vars_array('PASSWORD_RESET_...', Array)
      #3 /home/layzee/public_html/forum/vendor/symfony/http-kernel/HttpKernel.php(151): phpbb\ucp\controller\reset_password->reset()
      #4 /home/layzee/public_html/forum/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object( in /home/layzee/public_html/forum/phpbb/template/context.php on line 190

      Style: Lucid Lime
      Language packs: en, it, es, uk, ru, zh_cmn_hans

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Marc Marc
                Reporter:
                GIK-Team Georgii Leoshko
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: