joomla Fatal error: Call to a member function bind() on a non-object in \components\com_reviews\controller.php on line 24
I m receiving this error.

I don't where should I make the changes to come over this error.   
 

    function comment()
    {
        global $option;
        $row=& JTable::getInstance('comment','Table');
        if (!$row->bind(JRequest::get('post')))
        {
            echo "<script>alert('".$row->getError()."');
                window.history.go(-1);
            </script>\n";
            exit();
        }
        $row->comment_date=date('Y-m-d H:i:s');
        $user=& JFactory::getUser();
        if ($user->_table_id)
        {
            $row->user_id=$user->_table_id;
        }
        if (!$row->store())
        {
            echo "<script>alert('".$row->getError()."');
                window.history.go(-1);</script>\n";
                exit();
        }
        $this->setRedirect('index.php?option='.$option.'&id'.$row->review_id.'&view=review','Comment Added.');
        
        
    }  

thanks in advance
Dave
joomla Fatal error: Call to a member function bind() on a non-object in \components\com_reviews\controller.php on line 24
===

I m receiving this error.

I don't where should I make the changes to come over this error.   
 

    function comment()
    {
        global $option;
        $row=& JTable::getInstance('comment','Table');
        if (!$row->bind(JRequest::get('post')))
        {
            echo "<script>alert('".$row->getError()."');
                window.history.go(-1);
            </script>\n";
            exit();
        }
        $row->comment_date=date('Y-m-d H:i:s');
        $user=& JFactory::getUser();
        if ($user->_table_id)
        {
            $row->user_id=$user->_table_id;
        }
        if (!$row->store())
        {
            echo "<script>alert('".$row->getError()."');
                window.history.go(-1);</script>\n";
                exit();
        }
        $this->setRedirect('index.php?option='.$option.'&id'.$row->review_id.'&view=review','Comment Added.');
        
        
    }  

thanks in advance
Dave