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 adding a custom page with an uploaded jpg #347

Closed
tpokorra opened this issue Sep 20, 2024 · 1 comment · Fixed by #348
Closed

TypeError when adding a custom page with an uploaded jpg #347

tpokorra opened this issue Sep 20, 2024 · 1 comment · Fixed by #348
Assignees

Comments

@tpokorra
Copy link

When I create a custom page, and upload a jpg image, and save, I get the error:

Oooops... It looks like you may have taken the wrong turn.
An internal server error occurred.

In the logging I see the attached error with stacktrace.
humhub_stacktrace.log

Short version:

TypeError: humhub\modules\content\services\ContentSearchService::deleteContentById(): Argument #1 ($id) must be of type int, null given

any ideas?

@yurabakhtin
Copy link
Contributor

@luke- Fixed in the PR humhub/humhub#7227.
The bug was created in the PR humhub/humhub#7187.

@yurabakhtin yurabakhtin linked a pull request Sep 24, 2024 that will close this issue
@luke- luke- reopened this Sep 24, 2024
@luke- luke- closed this as completed Sep 28, 2024
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