InvalidArgumentException [404]

Category not found
.../libraries/src/MVC/View/CategoryView.php:145
140         $category    = $this->get('Category');
141         $children    = $this->get('Children');
142         $parent      = $this->get('Parent');
143 
144         if ($category == false) {
145             throw new \InvalidArgumentException(Text::_('JGLOBAL_CATEGORY_NOT_FOUND'), 404);
146         }
147 
148         if ($parent == false) {
149             throw new \InvalidArgumentException(Text::_('JGLOBAL_CATEGORY_NOT_FOUND'), 404);
150         }