diff --git a/app/Helpers/response_helper.php b/app/Helpers/response_helper.php index 29f9619b2..0dda399f9 100644 --- a/app/Helpers/response_helper.php +++ b/app/Helpers/response_helper.php @@ -471,6 +471,11 @@ function response_create($instance = null) } if (!empty($output)) { log_message('debug', 'Output: ' . json_encode($output)); + $string = 'There is an issue with Enterprise functionality. Output below:'; + foreach ($output as $line) { + $string = $string . "
" . $line; + } + \Config\Services::session()->setFlashdata('error', $string); } $sql = "SELECT * FROM enterprise WHERE id = $id"; $result = $db->query($sql)->getResult();