Skip to content

api.php exception handling bug #296

Closed as not planned
Closed as not planned

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!

Activity

  1. added 2 commits that reference this issue on Jan 24, 2022
    a915a15
    e666391
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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