Skip to content

api.php exception handling bug #296

@miceZipper

Description

@miceZipper

My system:
Ubuntu Server 21.10
PHP 8.0.8 (cli) (built: Oct 26 2021 11:42:42) ( NTS )
Apache/2.4.48 (Ubuntu) (2022-01-05T14:29:15)

Hello team,
in case of the exception there is the try-catch statement in the api.php file. The $vbox variable is declared right before the try-catch statement and it is commented like it would be initiated further. But in the catch statement this variable is used like it had been initiated earlier. There is no $vbox initialization in the catch statement which causes PHP FATAL error in case of exception.

Kindly take a look into it please.

Thank in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions