Closed NLZ closed 3 years ago
Bruh wtf
MD dev should have fixed it on the API.
Issue solved on Mangadex's end: https://mangadex.org/thread/351011/1
- Fixed the groups field in the chapter entity sometimes showing up as an object instead of an array (thanks to php's array_filter not working as I expected it to)
In the chapter API groups are usually listed like this, for example 1109980:
But I found this chapter 1113458 which uses a different structure:
This is a fairly new chapter from today, but checked an even newer chapter and that still uses the old format, so I'm not sure what happened. Asked #support on discord, maybe someone will tell why it's like this.
Anyway, here is the error trace for the unexpected format: