Skip to content

(bug): Call to a member function getSubscriptionsCount() on null

Sentry Issue: ENGINE-C

Error: Call to a member function getSubscriptionsCount() on null
  File "/Controllers/api/v2/suggestions.php", line 19, in Minds\Controllers\api\v2\suggestions::get
    if ($loggedInUser->getSubscriptionsCount() >= 5000) {
  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);
  File "/index.php", line 9
    $router->route();