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

TypeError when updating a file #7

Open
thomasjonas opened this issue Aug 10, 2023 · 0 comments · May be fixed by #8
Open

TypeError when updating a file #7

thomasjonas opened this issue Aug 10, 2023 · 0 comments · May be fixed by #8

Comments

@thomasjonas
Copy link
Contributor

Whenever I update a file I get this error:

Exception: TypeError Kirby\Cms\App::{closure}(): Argument #2 ($input) must be of type array, null given

So apparently Kirby doesn't always send input. Also the plugin does not use the $input argument, so I think it's best to make it optional. I'll submit a PR in a second.

@thomasjonas thomasjonas linked a pull request Aug 10, 2023 that will close this issue
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.

1 participant