Error:
Fatal error: Call to undefined method XenForo_Model_InlineMod_Thread::get() in C:\xampp\htdocs\xenforo\library\XenForo\Model\InlineMod\Thread.php on line <i>822
$dw->set('discussion_state', $newState);
if (array_key_exists($this->get('node_id'), $forums))
{
$dw->setExtraData(XenForo_DataWriter_Discussion_Thread::DATA_FORUM, $forums[$this->get('node_id')]);
}
should be
PHP:
$dw->set('discussion_state', $newState);
if (array_key_exists($dw->get('node_id'), $forums))
{
$dw->setExtraData(XenForo_DataWriter_Discussion_Thread::DATA_FORUM, $forums[$this->get('node_id')]);
}
line824 also
PHP:
if (array_key_exists($dw->get('node_id'), $forums))
{
$dw->setExtraData(XenForo_DataWriter_Discussion_Thread::DATA_FORUM, $forums[$this->get('node_id')]);
}
//should be
$forums[$this->get('node_id')]);
I am attempting to fix this error now on my forum.
ragtek's first replacement fixed the line 822 error, but not I am still getting a line 824 error.
Where he says "line824 also" it looks like the code under the "//should be" line is the same as the code just above it, unless line 824 should only contain the little bit of code under "//should be".