diff --git a/app/Actions/Feed/CreateNewFeed.php b/app/Actions/Feed/CreateNewFeed.php index 5147722..0814012 100644 --- a/app/Actions/Feed/CreateNewFeed.php +++ b/app/Actions/Feed/CreateNewFeed.php @@ -125,7 +125,7 @@ public function handle(string $requested_feed_url, ?User $attachedUser, ?int $ca $newFeedEntries = []; foreach ($entries as $entry) { - if (strlen($entry->get_author()?->get_name()) > 255) { + if (strlen($entry->get_author()?->get_name() ?? '') > 255) { // 255 is arbitrary, but if the author is that long, it's probably a bug // example: https://x.com/fuolpit/status/1873790603768553905