-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Settings page throws exception after deleting the "self" Contact #5981
Comments
I was able to undo this by setting the
|
There is a foreign key constraint to handle this, but it does not get triggered due to using soft deletes. I'm not sure what the idiomatic Laravel way to fix this would be, though. |
I am able to reproduce the error with the steps mentioned above. @asbiin, can we add an enhancement that will ask the user to first delink the contact from assigned as self, and then it will allow the user to delete the contact only if that contact is not marked as me. If this sounds good, I can work and create a PR on it. Thanks! |
I'm experiencing the same issue after deleting contact assigned as self "Attempt to read property "id" on null (View: /srv/app/monicahq/htdocs/resources/views/settings/index.blade.php) Error number : 9a8646568d14440a84174369d85c2d58" |
* Add deleted observer on the contact model
Is there any way to fix that without database access? I have an account on https://app.monicahq.com and currently there is no way to cancel my subscription because settings is broken. Email support is not responding (requested on August 7). Edit: solved via support |
I’m having the same issue, looking to cancel subscription but cannot do to this error. |
@asbiin can i work on this issue or it is already solved?? |
Steps to reproduce:
Using self-hosted Docker tag
3.6.1
The text was updated successfully, but these errors were encountered: