Problem/Motivation
Deprecated function: mb_strtolower(): Passing null to parameter
Steps to reproduce
Create a new flagging collection
Proposed resolution
Check if the string is null.
The following is used in other modules:
$id = $id ? str_replace([' ', '_', '[', ']'], ['-', '-', '-', ''], mb_strtolower($id)) : '';
Remaining tasks
-
User interface changes
-
API changes
-
Data model changes
-
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | issue-3407890-deprecated-function-mbstrtolower.patch | 831 bytes | viren18febs |
Issue fork flag_lists-3407890
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
Comment #4
chetan 11 commentedHi,
I have fixed the above error on "flag list" module.
Please check the raised MR.
Thanks.
Comment #5
sl27257Hi,
I am sorry but that is not the problem here :(
/Thomas
Comment #6
sl27257The problem here is exactly this:
#3302838: Querying with NULL values results in warning mb_strtolower(): Passing null to parameter is deprecated
But as stated in #25 this a problem in core which can be caused by a contributed module. So I will not mark this as a duplicate yet. Instead this will be kept open so that it can be fixed in the flag_lists if possible.
Comment #7
viren18febs commentedI have resolved the issue & added patch file, please review.
Comment #8
sl27257Hi,
I am sorry, but as pointed out in #5 above, this is NOT the problem here.