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.
FILE: ...ocroot/sites/all/modules/contrib/media/includes/media.filter.inc
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
281 | WARNING | Function create_function() is deprecated since PHP
| | 7.2; Use an anonymous function instead
----------------------------------------------------------------------
This looks like it's in a deprecated function called by the deprecated media_url_filter. I'm not sure if this is right and I'm not sure how to test it. This may not be needed, IDK.
Comment | File | Size | Author |
---|---|---|---|
#2 | media-create_function_deprecated-3075465-1.patch | 1.39 KB | Mike Lewis |
Comments
Comment #2
Mike Lewis CreditAttribution: Mike Lewis commentedComment #3
Mike Lewis CreditAttribution: Mike Lewis commentedComment #4
Mike Lewis CreditAttribution: Mike Lewis commentedComment #6
joseph.olstadThanks!
Comment #8
robpowellI am updating version as it was merged to the 7.x-2.x branch.
Comment #9
robpowellSorry for the confusion, this is for 7.x-1.x-dev. Nothing to see here folks ;).
Comment #10
robpowell