Skip to content

Error: Call to a member function getDeleted() on null

Introduced in 84da7d65

Sentry Issue: ENGINE-A

Error: Call to a member function getDeleted() on null
  File "/Core/Suggestions/Manager.php", line 104, in Minds\Core\Suggestions\Manager::getList
    if ($entity->getDeleted()) {
  File "/Controllers/api/v2/suggestions.php", line 36, in Minds\Controllers\api\v2\suggestions::get
    $result = $manager->getList($opts);
  File "/Api/Factory.php", line 69, in Minds\Api\Factory::build
    return $handler->$method($pages);
  File "/Controllers/api/api.php", line 76, in Minds\Controllers\api\api::get
    return Factory::build($pages, $this->request, $this->response);
  File "/Core/Router.php", line 137, in Minds\Core\Router::route
    return $handler->$method($pages);
...
(1 additional frame(s) were not displayed)
Edited by Mark Harding