Getting Fatal error on admin view-html-php

First I'd like to say that this component creator is awesome

I am getting an error in the admin view for one of my tables. I believe has to do with the filter
Fatal error: Call to a member function get() on a non-object in \administrator\components\xxx\ views\xxx\view.html.php on line 74

Line 74 is this
  1. <?php  
  2. if($this->state->get('filter.state') != 2){ 
  3.                 JToolbarHelper::publish('categories.publish''JTOOLBAR_PUBLISH'true); 
  4.                 JToolbarHelper::unpublish('categories.unpublish''JTOOLBAR_UNPUBLISH'true); 
  5.             } 

    Submitted by Dallas Moore On Sunday, 23 March 2014.
    Category: Joomla Component Creator


    1 Answers.
    Super User

    Re:Getting Fatal error on admin view-html-php

    try the latest JCC, we have fixed lots issue and it have new features too.
    Submitted by Super User On Monday, 24 March 2014
    This Answer has been Chosen as Best Answer
    Question is marked as resolved.