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!
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.phpfile. The$vboxvariable 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$vboxinitialization in the catch statement which causes PHP FATAL error in case of exception.Kindly take a look into it please.
Thank in advance!