silence
Well-known member
So I'm extending XenForo_Model_Post and simply using this function:
However when I click the post number in the thread, it spits out this error:
What would be triggering an exhaustion of memory and how can I code around this?
Thanks!
Code:
public function getPostById($postId, array $fetchOptions = array())
{
$parent = self::getPostById($postId, $fetchOptions);
return $parent;
}
However when I click the post number in the thread, it spits out this error:
Code:
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 130968 bytes)
What would be triggering an exhaustion of memory and how can I code around this?
Thanks!