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.
Deprecated function: assert(): Calling assert() with a string argument is deprecated in Drupal\libraries\Plugin\libraries\Locator\UriLocator->locate() (line 76 of modules/contrib/libraries/src/Plugin/libraries/Locator/UriLocator.php).
assert() is used with a string argument in multiple locations in libraries module.
Comment | File | Size | Author |
---|---|---|---|
#2 | fix-deprecated-assertions-3067813-1.patch | 3.26 KB | code_brown |
|
Comments
Comment #2
code_brown CreditAttribution: code_brown commentedHere's a patch to fix the deprecation notices
Comment #3
ravi.shankar CreditAttribution: ravi.shankar at OpenSense Labs commentedComment #4
saurabh.tripathi.cs CreditAttribution: saurabh.tripathi.cs as a volunteer and at Acquia for Acquia commentedHave tested this PR #2, It looks good to me.
Comment #6
podarokThank you