Problem/Motivation

PHP 8.1 Deprecation error on the Edit subqueue page:
http://localhost/admin/structure/entityqueue/[entityqueue_machine_name]/...
Deprecated function: preg_match_all(): Passing null to parameter #2 ($subject) of type string is deprecated in Drupal\Core\Utility\Token->scan() (line 240 of core/lib/Drupal/Core/Utility/Token.php).

CommentFileSizeAuthor
#2 3283688.patch940 bytesamateescu

Comments

chrisck created an issue. See original summary.

amateescu’s picture

Status: Active » Needs review
StatusFileSize
new940 bytes

This should do it.

  • amateescu committed 46f8569 on 8.x-1.x
    Issue #3283688 by amateescu, chrisck: PHP 8.1: Deprecated function:...
amateescu’s picture

Status: Needs review » Fixed

Committed to 8.x-1.x, thanks for opening the issue!

chrisck’s picture

Thanks for the quick resolution! The error is gone with the latest 1.x-dev.

Status: Fixed » Closed (fixed)

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