Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Minds Backend - Engine
Minds Backend - Engine
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 222
    • Issues 222
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 37
    • Merge Requests 37
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Packages
    • Packages
    • List
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds Backend - EngineMinds Backend - Engine
  • Issues
  • #872

Closed
Open
Opened 4 days ago by Mark Harding@markeharding
  • Report abuse
  • New issue
Report abuse New issue

Error: Call to a member function getEmail() on null when reading settings

Sentry Issue: ENGINE-26

Error: Call to a member function getEmail() on null
  File "/Controllers/api/v2/settings/emails.php", line 41, in Minds\Controllers\Api\v2\settings\emails::get
    'email' => $user->getEmail(),
  File "/Api/Factory.php", line 70, 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 138, in Minds\Core\Router::route
    return $handler->$method($pages);
  File "/index.php", line 9
    $router->route();

Please solve the reCAPTCHA

We want to be sure it is you, please confirm you are not a robot.

Related issues
0

    Related merge requests
    1
    • Merged 2 hours ago
      Sep 30, 2019 12:25pm GMT+0000
      [Sprint/OldfashionedOwl](fix): Sentry bug - settings emails endpoint null user.
      Merged 2 hours ago
      Sep 30, 2019 12:25pm GMT+0000
      !346
    When this merge request is accepted, this issue will be closed automatically.
    • Discussion 9
    • Designs 0
    • Emiliano Balbuena @edgebal added Priority::2 - Normal Product::Platform Sprint::09/25 - Oldfashioned Owl Squad::Yellow Type::Bug scoped labels 4 days ago

      added Priority::2 - Normal Product::Platform Sprint::09/25 - Oldfashioned Owl Squad::Yellow Type::Bug scoped labels

    • Emiliano Balbuena @edgebal changed weight to 2 4 days ago

      changed weight to 2

    • Mark Harding @markeharding assigned to @benhayward.ben 4 days ago

      assigned to @benhayward.ben

    • Ben Hayward @benhayward.ben added Status::InProgress scoped label 4 days ago

      added Status::InProgress scoped label

    • Ben Hayward @benhayward.ben mentioned in merge request !346 (merged) 3 days ago

      mentioned in merge request !346 (merged)

    • Ben Hayward @benhayward.ben added 1h of time spent at 2019-09-26 3 days ago

      added 1h of time spent at 2019-09-26

    • Ben Hayward @benhayward.ben added Status::Review scoped label and automatically removed Status::InProgress label 3 days ago

      added Status::Review scoped label and automatically removed Status::InProgress label

    • Mark Harding @markeharding closed via merge request !346 (merged) 2 hours ago

      closed via merge request !346 (merged)

    • Mark Harding @markeharding mentioned in commit 4f6b8f18 2 hours ago

      mentioned in commit 4f6b8f18

    • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
    Please register or sign in to reply

    The one place for your designs

    Upload and view the latest designs for this issue. Consistent and easy to find, so everyone is up to date.

    Assignee
    Ben Hayward's avatar
    Ben Hayward @benhayward.ben
    Assign to
    none
    Epic
    None
    None
    Milestone
    None
    Assign milestone
    1h / --
    Time tracking
    Spent: 1h
    None
    Due date
    None
    6
    Labels
    Priority::2 - Normal Product::Platform Sprint::09/25 - Oldfashioned Owl Squad::Yellow Status::Review Type::Bug
    Assign labels
    • View project labels
    2
    Weight
    2
    Confidentiality
    Not confidential
    Lock issue
    Unlocked
    3
    3 participants
    user avatar
    Ben Hayward
    user avatar
    Mark Harding
    user avatar
    Emiliano Balbuena
    Reference: minds/engine#872