Skip to content

Lots of errors coming out of jury duty - Error: Call to a member function getGuid() on null

Looks like potential fallout from a banned bot, since the banned endpoint calls this endpoint and it isn't locked down. The incident started about two days ago when we banned a bunch of spam

Sentry Issue: ENGINE-TY

Error: Call to a member function getGuid() on null
  File "/Controllers/api/v2/moderation/appeals.php", line 28, in Minds\Controllers\api\v2\moderation\appeals::get
    'owner_guid' => Core\Session::getLoggedInUser()->getGuid(),
  File "/Api/Factory.php", line 87, 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/PrePsr7/Router.php", line 155, in Minds\Core\Router\PrePsr7\Router::route
    return $handler->$method($pages);
  File "/Core/Router/PrePsr7/Fallback.php", line 115, in Minds\Core\Router\PrePsr7\Fallback::route
    (new Router())->route();
...
(2 additional frame(s) were not displayed)
Edited by Brian Hatchet