Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
After PHP was upgraded from 7.4 to 8.1, the notice message below shows up.
Deprecated function: mb_strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in _wxt_library_check_url() (line 135 of modules/custom/wxt_library/wxt_library.module).
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#2 | 3286651-php81-mb_strtolower-deprecation.patch | 744 bytes | jmdeleon |
Comments
Comment #2
jmdeleon CreditAttribution: jmdeleon at OpenPlus commentedAttaching a patch that addresses this issue.
Comment #3
sylus CreditAttribution: sylus commentedComment #4
sylus CreditAttribution: sylus commentedThanks for this @jmdeleon :D
Credited and committed!