When I upgrade PHP from 7 to 8.1 I get this warning.

Deprecated function: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in Drupal\entityqueue_smartqueue\Plugin\views\argument\EntityQueueSmartQueueArgument->setArgument() (line 90 of /app/web/modules/contrib/entityqueue/modules/entityqueue_smartqueue/src/Plugin/views/argument/EntityQueueSmartQueueArgument.php)

CommentFileSizeAuthor
#4 3316832.patch758 bytesamateescu

Comments

Nayan Sarkar created an issue. See original summary.

avpaderno’s picture

Title: PHP 8.1 Depecrated function strpos() » strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated
Version: 8.x-1.3 » 8.x-1.x-dev
Issue summary: View changes
Issue tags: -issue +PHP 8.1

  • amateescu committed 81c852e on 8.x-1.x
    Issue #3316832 by Nayan Sarkar, apaderno: strpos(): Passing null to...
amateescu’s picture

Status: Active » Fixed
StatusFileSize
new758 bytes

Committed the patch attached to 8.x-1.x, thanks for reporting it :)

Status: Fixed » Closed (fixed)

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