Deprecated: validateNumeric(): Implicitly marking parameter $min as nullable is deprecated, the explicit nullable type must be used instead in /home/hafa9625/public_html/repos-unisma.my.id/src/Helpers/functions.php on line 112

Deprecated: validateNumeric(): Implicitly marking parameter $max as nullable is deprecated, the explicit nullable type must be used instead in /home/hafa9625/public_html/repos-unisma.my.id/src/Helpers/functions.php on line 112

Warning: session_start(): Session cannot be started after headers have already been sent in /home/hafa9625/public_html/repos-unisma.my.id/public/index.php on line 22
Error

Fatal Error

Uncaught exception: ErrorException

Message: Cannot modify header information - headers already sent by (output started at /home/hafa9625/public_html/repos-unisma.my.id/src/Helpers/functions.php:112)

Stack trace:

#0 [internal function]: App\Helpers\ErrorHandler::handleError(2, 'Cannot modify h...', '/home/hafa9625/...', 16)
#1 /home/hafa9625/public_html/repos-unisma.my.id/src/Middleware/SecurityMiddleware.php(16): header('X-Content-Type-...')
#2 /home/hafa9625/public_html/repos-unisma.my.id/public/index.php(35): App\Middleware\SecurityMiddleware->handle()
#3 {main}

Thrown in /home/hafa9625/public_html/repos-unisma.my.id/src/Middleware/SecurityMiddleware.php on line 16