Hi there. There is an unknown problem on my crm 8.7. Around every 30 seconds i got the message “Error occurred while retrieving records”. I do not have issues while working in crm, but the message still appears. I tried to find the error in logs files, in browser consoles, but none of them didnt helped.
Invalid CSRF Token: When trying to save or edit records, an invalid CSRF (Cross-Site Request Forgery) token can cause this error. This issue was addressed in SuiteCRM 8.2.3, but may still persist in some instances.
User Permissions and Roles: Incorrectly configured user permissions or restricted access to specific modules (like the Alerts module) can prevent users from retrieving records, leading to this error.
PHP Configuration and Compatibility: Issues with PHP version or settings, such as session.gc_maxlifetime, can contribute to this error. Note that SuiteCRM 8.7.x and later versions might not be compatible with PHP 7.4.
Cache Issues: Corrupted or outdated cache files, especially in the /public/legacy/cache directory, can trigger errors when retrieving records.
Database Errors: Underlying database issues or incompatibilities can cause problems with record retrieval.
I would like to believe that you disabled access to alerts module in role access configurations it seem to bring that error enable access to is to see if it disapears
It doesn’t work for me. I still see “Error occurred while retrieving records” while I gave full access to alerts. the error is still there.
The problem is that there’s no error log with it…
Yes, I enabled it for everybody, later I also created a role and a security group with the access rights and put everyone to it, I cleared both cashes (legacy and angular) but the problem persists.
I also created some alerts programmatically with the same outcome. But the alerts I created are not showing in the alert list view, so I think that alerts really seem to be the problem.