caleb89taylor
Member
Hi all,
We upgraded from 1.1 to 1.3 and now are server error logs are flooded with the following error:
"Cannot insert a message in the middle of a discussion."
"library/XenForo/DataWriter/DiscussionMessage.php:449"
We aren't sure what's going on. From the code that is throwing the exception:
We aren't sure why we are getting this error. Something must be a little off as it doesn't happen on every post, in fact not on most posts. But it is happening often enough to annoy our users. We just set up a new database master/slave and all new servers so anything could be the culprit. Any ideas?
We upgraded from 1.1 to 1.3 and now are server error logs are flooded with the following error:
"Cannot insert a message in the middle of a discussion."
"library/XenForo/DataWriter/DiscussionMessage.php:449"
We aren't sure what's going on. From the code that is throwing the exception:
PHP:
if ($this->get('post_date') < $discussionDw->get('last_post_date'))
{
// TODO: this doesn't deal with inserting a message in the middle of a discussion
throw new XenForo_Exception('Cannot insert a message in the middle of a discussion.');
}
We aren't sure why we are getting this error. Something must be a little off as it doesn't happen on every post, in fact not on most posts. But it is happening often enough to annoy our users. We just set up a new database master/slave and all new servers so anything could be the culprit. Any ideas?