FIX: prevents trigger post read count update on non existing post (#8128)

FIX: prevents trigger post read count update on non existing post (#8128)

diff --git a/app/models/topic_tracking_state.rb b/app/models/topic_tracking_state.rb
index cec4fa9..1b99db2 100644
--- a/app/models/topic_tracking_state.rb
+++ b/app/models/topic_tracking_state.rb
@@ -390,6 +390,7 @@ SQL
   end
 
   def self.trigger_post_read_count_update(post, groups, last_read_post_number, user_id)
+    return if !post
     return if groups.empty?
     opts = { readers_count: post.readers_count, reader_id: user_id }
     post.publish_change_to_clients!(:read, opts)

GitHub sha: 3ee6e859

How often does this happen? Is that an admin-only thing? Might be worth a test?