-
Notifications
You must be signed in to change notification settings - Fork 118
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
Members disappear from Member listing but remain in EE exp_members db table #4288
Comments
@jcogs-design this was a scenario where the The PR I've opened changes how ExpressionEngine's model gateways work so that this missing pivot record will not cause an error when trying to retrieve the main model and would resolve your issue here as well. |
Ace - thanks for the update. |
Description of the problem
User of site (SarahF, Member ID 26) reported no longer being able to log in.
Their entry was still showing in EE
exp_members
db table, but when log in attempted EE threw an Exception error reporting "Call to a member function getAllRoles() on null" and "Attempt to read property "role_id" on null".Error Messages
Screenshots / Videos / Template Code
![image](https://private-user-images.githubusercontent.com/13821249/327408714-99493679-f35f-413f-9b42-2031a3f56fc9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkyNjAyMDMsIm5iZiI6MTcxOTI1OTkwMywicGF0aCI6Ii8xMzgyMTI0OS8zMjc0MDg3MTQtOTk0OTM2NzktZjM1Zi00MTNmLTliNDItMjAzMWEzZjU2ZmM5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI0VDIwMTE0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRjY2UyNDUyNTA4MTU4YWUwZTZkNmJjYjRmZmQ2NzI1Zjk2OWQwZWMzYzliYjU2MzI2NjY1ZDNlNDNlNGMzNDYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.uY-maBv390qgL4E1-C6Dce9u6Q59ygC7B0A8M8TNpxU)
![image](https://private-user-images.githubusercontent.com/13821249/327409072-0165bb9f-16d2-4237-97b2-c33d236b24ad.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkyNjAyMDMsIm5iZiI6MTcxOTI1OTkwMywicGF0aCI6Ii8xMzgyMTI0OS8zMjc0MDkwNzItMDE2NWJiOWYtMTZkMi00MjM3LTk3YjItYzMzZDIzNmIyNGFkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI0VDIwMTE0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFmOTExNmZlN2M4NDBkMDJiNTc5NTcyZDI5YjBhYzRlOGU0MTQzYTI4YzIyZWIyNGI3ODY1YjBhZWFmYzc0ODYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.h8lvhcwIK0gpFoF1J8F4yBc6vNMA0-9J5zszW6JfPIo)
![image](https://private-user-images.githubusercontent.com/13821249/327409257-40be88db-000c-4186-8b4b-5735b8df28f4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkyNjAyMDMsIm5iZiI6MTcxOTI1OTkwMywicGF0aCI6Ii8xMzgyMTI0OS8zMjc0MDkyNTctNDBiZTg4ZGItMDAwYy00MTg2LThiNGItNTczNWI4ZGYyOGY0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI0VDIwMTE0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU2YThjODdlMDgxZTBmNDk2MjQ3ZjYwN2M3MWQxY2I2NmRiZGFhMDhiMzE4OWQ0YjA5MWRkYWZlYmIzZmY3NjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.yP0Llgj-z5MC7-6FnFioI0L8JFyqoTWQRJsfG0dRiTo)
Environment Details:
Possible Solution
Removed member and recreated their account, but not a good solution in bigger picture sense.
The text was updated successfully, but these errors were encountered: