-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
Docs to Sluggable
say:
"In case if you want the slug to regenerate itself based on sluggable fields, set the slug to null."
However, this produces a deprecation under PHP >= 8.1:
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in vendor/gedmo/doctrine-extensions/src/Sluggable/SluggableListener.php on line 368
DoctrineExtensions/src/Sluggable/SluggableListener.php
Lines 367 to 370 in eb53dfc
// if slug should not be updated, skip it | |
if (!$options['updatable'] && !$isInsert && (!isset($changeSet[$slugField]) || 0 === strpos($slug, '__sluggable_placeholder__'))) { | |
continue; | |
} |
Metadata
Metadata
Assignees
Labels
No labels