Skip to content

API answer can have PHP warning #37445

@gagarine

Description

@gagarine

Bug

The API answer may contain PHP warning before the JSON. HTML should never appear before a JSON answer.

Dolibarr Version

22.0.4

Environment PHP

No response

Environment Database

No response

Steps to reproduce the behavior and expected behavior

No response

Attached files

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugThis is a bug (something does not work as expected)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions