Cannot read properties of null (reading 'toString')
### Node Version

18.20.4

### NPM/Yarn/PNPM Version

1.22.22

### Strapi Version

5.8.1

### Operating System

Linux (Debian/Ubuntu)

### Database

SQLite

### Javascript or Typescript

Typescript

### Reproduction URL

_No response_

### Bug Description

Unable to access advance settings in admin CMS.
![Image](https://github.com/user-attachments/assets/0e5534f1-280b-429b-bc67-3aa592b516c7)

### Steps to Reproduce

1. Login to strapi admin
2. Go to settings from left menu
3. There click on advance settings
4. 

![Image](https://github.com/user-attachments/assets/0c5b6464-006c-4fa1-894b-5c1b94197333)

### Expected Behavior

1. When click on advance settings it should show the settings page

### Logs

```shell
Something went wrong
It seems like there is a bug in your instance, but we've got you covered. Please notify your technical team so they can investigate the source of the problem and report the issue to us by opening a bug report on 
Strapi's GitHub
.
Cannot read properties of null (reading 'toString')
```

### Code Snippets

_No response_

### Media

_No response_

### Additional information

_No response_

### Confirmation Checklist

- [x] I have checked the existing [issues](https://github.com/strapi/strapi/issues) for duplicates.
- [x] I agree to follow this project's [Code of Conduct](https://github.com/strapi/strapi/blob/develop/CODE_OF_CONDUCT.md).