Xon
Guest
Member
XF\Service\Thread\Replier::_save
will throw an internal server error (ErrorException: [E_WARNING] Trying to access array offset on value of type bool
) when replying to a thread which has been hard deleted during that reply.PHP:
Code:
protected function _save()
{
...
$threadLatest = $this->db()->fetchRow("
SELECT *
FROM xf_thread
WHERE thread_id = ?
FOR UPDATE
", $this->thread->thread_id);
// Ensure our thread entity has the latest data to make sure things...
Read more