I have a finder; when i use:
I get a result.
Now I do the same with mya table:
I get the error message:
Attempt to assign property "shortName" on null
I have checked everything ten and more times.
I have a table, I have an entity, I have a content type.
What else do I miss? Any Idea how to find it, please?
Code:
$topicFinder = $this->finder('XFRM:Category');
$topicFinder
->where('resource_category_id', '1')
->fetch();
I get a result.
Now I do the same with mya table:
Code:
$topicFinder = $this->finder('Xencafe\News:News');
$topicFinder
->where('news_id', '1')
->fetch();
I get the error message:
Attempt to assign property "shortName" on null
I have checked everything ten and more times.
I have a table, I have an entity, I have a content type.
What else do I miss? Any Idea how to find it, please?