From: Michael Date: Sun, 17 Mar 2019 13:56:47 +0000 (+0000) Subject: Added logging since this exixted before X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=75ec384fc3e42c77727e552751651029cd54a010;p=friendica.git Added logging since this exixted before --- 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']) {