I'm using a model of other component in my component. I'm following this solution. But, when I try to call the
getItem method of the model I get the error "Call to a member function load() on a non-object". In the model, the lines that cause the error is:
... $table = $this->getTable(); // Attempt to load the row. $return = $table->load($itemId); ...
What am I missing?