HELP - Error occurred while retrieving records on Version 8.8

We are getting this with some members and not others.

There is nothing coming up in the logs and we can’t see where or why some users are getting this error can anyone advise as it is once they log in they see it on the home screen and even when closing it they can’t view anything or click on their profile.

We are using version 8.8

What is your version of SuiteCRM? You should always state that, in every new post.

Since 8.8 these errors are also logged into suitecrm.log, so you can get a precise message.

We are on version 8.8


Yes thank you we have reviewed that and it is not happening to every user just a few once they log in. The session is not timing out and the compatibility matrix is all as it should be when the guys checked it

The team have checked the server logs and the chrome dev and the error is not showing up in either location

If it is happening for some of the users.

Then checking ROLES and their access in the SuiteCRM is good place.

Check what those users have different than admin or other users!

Yes I have been through the roles and security groups and i have 2 people with the same roles and are in the same security group on their own and it is happening with one of them and not the other and once one account was set up the other was duplicated from it so i dont understand what is different between them one is getting the error the other is not

Are they getting this error pop-up for every module?

One more thing, check user’s profile settings. Things like time zone, currency and other.

no its only on the home screen after log in.
I have people in the same time zone and currency etc and some get it others dont and i have multiple people in different time zones and currencies

In that case, it could be pop-up error due to any of the dashlet.

Under the Repair, we have the below option but I don’t know if it is safe to run or not. :warning:

Maybe it will reset dashlets to default :warning:

  • Rebuild SuiteCRM Dashlets
    → Rebuilds the SuiteCRM Dashlets cache file

Yes I have done the repair and rebuild and the rebuild of the dashlets I’ve tried all the rebuilds in the repair section to see if any of them would work and they are not fixing the issue.
The guys can’t see any errors in the dev tools either

If you switch Symfony to dev mode (search these forums for APP_ENV) you will see a stack trace in the browser’s dev tools, network tab.

2 Likes

Hi Alison,

To diagnose the issue, we need more details, as this behavior can be caused by factors. Below are steps you can follow to help identify and resolve the issue:
1-Use Browser Developer Tools (Inspect): Open the browser’s Developer Tools and check the Console for JavaScript errors and the Network tab for failed API calls (especially those returning status codes like 500, 403, or 401).
2-Review User Roles and Permissions: Since the issue affects only certain users, it may be related to role-based access.

  • Go to Admin > Role Management
  • Compare the roles and permissions of the affected users with those who are not experiencing the issue.
  • Ensure that the default dashboard widgets or modules are not restricted for those users.

3-Clear Application Cache: Navigate to your SuiteCRM root directory and run: ./bin/console cache:clear
4-Check File & Folder Permissions: Ensure the file permissions are properly set. Run the following commands (adjust www-data if your web server user is different): sudo chown -R www-data:www-data . sudo chmod -R 755 .
5-Enable Enhanced Error Logging: Since the logs currently don’t show any relevant information, try the following:

  • In config/services.yaml or your .env file, set APP_DEBUG=true and log level to debug.
  • Check logs under var/log/dev.log or var/log/prod.log for any backend or frontend errors.

I had to wipe and redo the roles and security settings for it to work any changes i made were not fixing it until i removed all the permission levels and re set them up again.