Skip to content

gitlab push webhook: Parameter must be an array or an object that implements Countable #346

Closed
@rattkin

Description

@rattkin

I set up webhooks by following this guide:
https://github.com/mantisbt-plugins/source-integration/blob/master/SourceGitlab/README.md

When I test the webhook in gitlab, I get HTTP 200 response, but in the body, there is a

SYSTEM WARNING
'count(): Parameter must be an array or an object that implements Countable' in '/srv/www/htdocs/mantis/plugins/SourceGitlab/SourceGitlab.php' line 367

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions