I have found that for all of my site's archived posts, which is ~90% of my site's content, that the link to the original post (that appears on the upper-right corner of the quoted post), throws a 404 not found error. This does not happen to the same links in non-archived posts, just in the archived ones. More info on the error code:
Error code: 2S226/3
try
{
$commentClass = $class::$commentClass;
$comment = $commentClass::load( \IPS\Request::i()->content_commentid );
$item = $comment->item();
}
catch( \OutOfRangeException $ex )
{
\IPS\Output::i()->error( 'node_error', '2S226/3', 404, '' );
}
and an example is the quote in this post:
https://www.celiac.com/forums/topic/105911-for-celiacs-with-joint-pain/#comment-902358
The link at the upper-right corner of the quoted post there is this one:
https://www.celiac.com/?app=core&module=system&controller=content&do=find&content_class=forums_Topic&content_id=105911&content_commentid=902357
which throws the 404 not found error, as do all links like this in all of the quoted posts that are archived. There are several other quoted posts on the same page to test.
On my test site I've tried disabling all custom plugins and applications, and the problem persists.
Any ideas?