diff --git a/workflow/public_html/sysGeneric.php b/workflow/public_html/sysGeneric.php index ab1b4af65..99d794348 100644 --- a/workflow/public_html/sysGeneric.php +++ b/workflow/public_html/sysGeneric.php @@ -19,6 +19,11 @@ function transactionLog($transactionName) //Application base name newrelic_set_appname($baseName); + //Initialize Laravel app if is not booted + if (!app()->isBooted()) { + app()->make(Kernel::class)->bootstrap(); + restore_error_handler(); + } //Custom parameters if (!empty(config("system.workspace"))) {