Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IsSpaceAdminMiddleware::afterException() must not return NULL #700

Open
donquixote opened this issue Jan 27, 2023 · 2 comments · May be fixed by #699
Open

IsSpaceAdminMiddleware::afterException() must not return NULL #700

donquixote opened this issue Jan 27, 2023 · 2 comments · May be fixed by #699
Assignees

Comments

@donquixote
Copy link

Otherwise we get

TypeError: OC\AppFramework\Middleware\MiddlewareDispatcher::afterException(): Return value must be of type OCP\AppFramework\Http\Response, null returned

@sergeng
Copy link

sergeng commented Jan 29, 2023

FIX is here
sergeng@bac98d0

@zak39
Copy link
Collaborator

zak39 commented Aug 3, 2023

Hi @donquixote

I had already fixed this problem here :

return new JSONResponse([]);

I return a JSONResponse with an empty array.

@zak39 zak39 self-assigned this Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants