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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jonathan_hunt created an issue. See original summary.

code_brown’s picture

Here's a patch to fix the deprecation notices

ravi.shankar’s picture

Status: Active » Needs review
saurabh.tripathi.cs’s picture

Status: Needs review » Reviewed & tested by the community

Have tested this PR #2, It looks good to me.

  • podarok committed 4762102 on 8.x-3.x authored by code_brown
    Issue #3067813 by code_brown, jonathan_hunt, ravi.shankar, saurabh....
podarok’s picture

Status: Reviewed & tested by the community » Fixed

Thank you

Status: Fixed » Closed (fixed)

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