Hi everyone,
I am using Strapi 5 to develop a new page, so starting with a clean setup.
I run into a weird issue when creating a single type “content”, where i encountered a type error with message:
TypeError: Cannot read properties of undefined (reading 'push') strapi admin
when trying to access the single type from content manager.
I found the issue reported on github here:
opened 03:21PM - 12 Oct 24 UTC
<!--
Hello 👋 Thank you for submitting an issue.
Before you start, please mak… e sure your issue is understandable and reproducible.
To make your issue readable make sure you use valid Markdown syntax.
https://guides.github.com/features/mastering-markdown/
Please ensure you have also read and understand the contributing guide.
https://github.com/strapi/strapi/blob/main/CONTRIBUTING.md#reporting-an-issue
-->
## Bug report
### Required System information
- Node.js version: `22.3.0`
- NPM version: `10.8.3` (using `pnpm` at `9.10.0`)
- Strapi version: `5.0.6`
- Database:
- Operating system: `Darwin Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6000 arm64`
- Is your project Javascript or Typescript:
### Describe the bug
Im getting an error page reporting the following error when trying to access the site pages I crated in my Strapi admin panel (local instance, still in development, luckily):
```
Cannot read properties of undefined (reading 'push')
```
The page is under the following URL:
```
http://localhost:1337/admin/content-manager/collection-types/api::page.page?page=1&pageSize=10&sort=Title%3AASC
```
### Steps to reproduce the behavior
I'm simply trying to visit the list of items of type `Page` I created in my Strapi instance.
### Expected behavior
Pretty obvious, I should be able to access my pages.
### Screenshots
<img width="693" alt="image" src="https://github.com/user-attachments/assets/36e17556-50eb-426a-828e-87977b02ed2f">
### Additional context
I recently migrated to v5, I guess this is a duplicate of https://github.com/strapi/strapi/issues/21267
Is this behaviour expected?
This topic has been created from a Discord post (1295095665487253627) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord
1 Like