Problem/Motivation

With PHP 8.0 version when the user tries to submit with Invalid username/password it throws below website encounter error.
error

Steps to reproduce

1. Navigate to User login page i.e `user/login`
2. Add Invalid username or password and Submit

Proposed resolution

This error is due to PHP 8.0 version causing TypeError exception with error message passed to form element.

Issue fork social-3258139

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

hitesh-jain created an issue. See original summary.

hitesh-jain’s picture

Status: Active » Needs review

tbsiqueira’s picture

.

tbsiqueira’s picture

Issue tags: +Open Social Batch 1

navneet0693’s picture

Crediting CurriedN for contributing https://github.com/goalgorilla/open_social/pull/2638

navneet0693’s picture

Status: Needs review » Reviewed & tested by the community
navneet0693’s picture

Status: Reviewed & tested by the community » Fixed

This will be available in Open Social 10.1.16 onwards.

  • navneet0693 committed 58d2490 on 10.1.x
    Merge pull request #2694 from goalgorilla/feature/3258139-invalid-...

  • navneet0693 committed 95b63f1 on 10.2.x
    Merge pull request #2694 from goalgorilla/feature/3258139-invalid-...

  • navneet0693 committed e5e05f4 on 10.3.x
    Merge pull request #2694 from goalgorilla/feature/3258139-invalid-...

  • navneet0693 committed e93d9a7 on 11.0.x
    Merge pull request #2694 from goalgorilla/feature/3258139-invalid-...
tbsiqueira’s picture

Issue tags: -Open Social Batch 1

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.