PHP trim() warning in _user_registrationpassword_user_pass_validate()

Created on 7 August 2018, almost 7 years ago
Updated 16 February 2023, over 2 years ago

I frequently get following Notices in Recent Log Messages:

Warning: trim() expects parameter 1 to be string, array given in user_pass_validate() (line 58
of /opt/bitnami/apps/drupal/new/modules/user/user.pages.inc).
Warning: trim() expects parameter 1 to be string, array given in _user_registrationpassword_user_pass_validate() (line 512 of /opt/bitnami/apps/drupal/new/sites/all/modules/contrib/user_registrationpassword/user_registrationpassword.module).
Warning: mb_strlen() expects parameter 1 to be string, array given in drupal_strlen() (line 482 of /opt/bitnami/apps/drupal/new/includes/unicode.inc).

What should I do to stop getting these notices.

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India dhruveshdtripathi

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024