From 75ec384fc3e42c77727e552751651029cd54a010 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 17 Mar 2019 13:56:47 +0000 Subject: [PATCH] Added logging since this exixted before --- src/Protocol/ActivityPub/Processor.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Protocol/ActivityPub/Processor.php b/src/Protocol/ActivityPub/Processor.php index 9fa16a91f7..de17770601 100644 --- a/src/Protocol/ActivityPub/Processor.php +++ b/src/Protocol/ActivityPub/Processor.php @@ -270,6 +270,7 @@ class Processor $item_private = !in_array(0, $activity['item_receiver']); $parent = Item::selectFirst(['id', 'private', 'author-link', 'alias'], ['uri' => $item['thr-parent']]); if (!DBA::isResult($parent)) { + Logger::warning('Unknown parent item.', ['uri' => $item['thr-parent']]); return false; } if ($item_private && !$parent['private']) { -- 2.39.5