Notice: Undefined variable: app in D:\xampp\htdocs\erp_api\vendor\laravel\framework\src\Illuminate\Foundation\Console\Optimize\config.php on line 3

Notice: Trying to access array offset on value of type null in D:\xampp\htdocs\erp_api\vendor\laravel\framework\src\Illuminate\Foundation\Console\Optimize\config.php on line 3