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

Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function delete() on null #2531

Closed
sentry-io bot opened this issue Mar 16, 2019 · 1 comment · Fixed by #2470
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented Mar 16, 2019

Sentry Issue: PRODUCTION-APP-9Z

Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function delete() on null
  File "app/Models/Contact/Contact.php", line 1242, in deleteRelationship
    $relationship->delete();
  File "app/Models/Contact/Contact.php", line 1221, in updateRelationship
    $this->deleteRelationship($otherContact, $oldRelationshipTypeId);
  File "app/Http/Controllers/Contacts/RelationshipsController.php", line 273, in update
    $contact->updateRelationship($otherContact, $request->get('type'), $request->get('relationship_type_id'));
  File "app/Http/Middleware/EnsureEmailIsVerified.php", line 20, in handle
    return parent::handle($request, $next);
  File "app/Http/Middleware/CheckCompliance.php", line 34, in handle
    return $next($request);
...
(74 additional frame(s) were not displayed)
@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 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant