Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ErrorException: Trying to get property 'name' of non-object #1680

Closed
asbiin opened this issue Aug 9, 2018 · 1 comment · Fixed by #1749
Closed

ErrorException: Trying to get property 'name' of non-object #1680

asbiin opened this issue Aug 9, 2018 · 1 comment · Fixed by #1749
Assignees
Labels
Milestone

Comments

@asbiin
Copy link
Member

asbiin commented Aug 9, 2018

https://sentry.io/monica-lv/production-app/issues/591367179/

ErrorException: Trying to get property 'name' of non-object
  File "app/Models/Account/Account.php", line 692, in handleError
    return $plan->name;
  File "app/Models/Account/Account.php", line 692, in getSubscribedPlanName
    return $plan->name;
  File "app/Http/Controllers/SettingsController.php", line 153, in delete
    $account->subscription($account->getSubscribedPlanName())->cancelNow();
  File "app/Http/Middleware/AuthEmailConfirm.php", line 28, in handle
    return $next($request);
  File "app/Http/Middleware/CheckCompliance.php", line 21, in handle
    return $next($request);
...
(71 additional frame(s) were not displayed)
@asbiin asbiin self-assigned this Aug 9, 2018
@asbiin asbiin added the bug label Aug 16, 2018
@asbiin asbiin added this to the 2.6 milestone Aug 21, 2018
@djaiss djaiss modified the milestones: 2.6, 2.7 Aug 21, 2018
@github-actions
Copy link

This issue has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants