System Information
- Strapi Version: v4.8.2
- Operating System: Windows 11
- Database: mysql
- Node Version: v18.12.1
- NPM Version: -
- Yarn Version: 1.22.19
Can anyone help me? I’ve had this bug for a while where I can’t Populate Relation, updating Strapi version don’t seems to fix this. When I’m trying to Populate I got this response:
API: GET http://localhost:1339/api/profiles/65?populate[0]=profile_picture&populate[1]=addresses_id
{
"data": null,
"error": {
"status": 500,
"name": "InternalServerError",
"message": "Internal Server Error"
}
}
[2023-04-03 10:03:31.087] error: Entry must be an object
Error: Entry must be an object
at transformEntry (C:\Users\ADIP\Documents\GitHub\praktek_admin\node_modules\@strapi\strapi\lib\core-api\controller\transform.js:52:11)
at transformEntry (C:\Users\ADIP\Documents\GitHub\praktek_admin\node_modules\@strapi\strapi\lib\core-api\controller\transform.js:64:20)
at C:\Users\ADIP\Documents\GitHub\praktek_admin\node_modules\@strapi\strapi\lib\core-api\controller\transform.js:48:39
at Array.map (<anonymous>)
at transformEntry (C:\Users\ADIP\Documents\GitHub\praktek_admin\node_modules\@strapi\strapi\lib\core-api\controller\transform.js:48:18)
at transformEntry (C:\Users\ADIP\Documents\GitHub\praktek_admin\node_modules\@strapi\strapi\lib\core-api\controller\transform.js:64:20)
at transformResponse (C:\Users\ADIP\Documents\GitHub\praktek_admin\node_modules\@strapi\strapi\lib\core-api\controller\transform.js:22:11)
at Object.transformResponse (C:\Users\ADIP\Documents\GitHub\praktek_admin\node_modules\@strapi\strapi\lib\core-api\controller\index.js:18:14)
at Object.findOne (C:\Users\ADIP\Documents\GitHub\praktek_admin\node_modules\@strapi\strapi\lib\core-api\controller\collection-type.js:41:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
This problem is gone when the relation is empty. I’ve already tried to delete the relation and re-create it but it won’t fix the problem.