diff --git a/src/Models/BaseElement.php b/src/Models/BaseElement.php index bb1c6179..6470eda0 100644 --- a/src/Models/BaseElement.php +++ b/src/Models/BaseElement.php @@ -277,7 +277,7 @@ public function canDelete($member = null) if ($this->hasMethod('getPage')) { if ($page = $this->getPage()) { if ($page->hasExtension(Versioned::class)) { - return $page->canArchive($member); + return Deprecation::withNoReplacement(fn() => $page->canArchive($member)); } else { return $page->canDelete($member); }