Deprecated: MemcachePool::add(): Passing null to parameter #3 ($flags) of type int is deprecated in /home/bitrix/www/bitrix/modules/main/lib/data/cacheenginememcache.php on line 80

Fatal error: Uncaught ErrorException: Cannot modify header information - headers already sent by (output started at /home/bitrix/www/bitrix/modules/main/lib/data/cacheenginememcache.php:80) in /home/bitrix/www/bitrix/modules/main/lib/httpresponse.php:232 Stack trace: #0 [internal function]: Bitrix\Main\Diag\ExceptionHandler->handleError(2, 'Cannot modify h...', '/home/bitrix/ww...', 232) #1 /home/bitrix/www/bitrix/modules/main/lib/httpresponse.php(232): header('Status: 500 Int...') #2 /home/bitrix/www/bitrix/modules/main/lib/httpresponse.php(173): Bitrix\Main\HttpResponse->flushStatus() #3 /home/bitrix/www/bitrix/modules/main/lib/diag/httpexceptionhandleroutput.php(20): Bitrix\Main\HttpResponse->writeHeaders() #4 /home/bitrix/www/bitrix/modules/main/lib/diag/exceptionhandler.php(274): Bitrix\Main\Diag\HttpExceptionHandlerOutput->renderExceptionMessage(Object(ErrorException), true) #5 [internal function]: Bitrix\Main\Diag\ExceptionHandler->handleException(Object(ErrorException)) #6 {main} thrown in /home/bitrix/www/bitrix/modules/main/lib/httpresponse.php on line 232

Fatal error: Uncaught ErrorException: Cannot modify header information - headers already sent by (output started at /home/bitrix/www/bitrix/modules/main/lib/data/cacheenginememcache.php:80) in /home/bitrix/www/bitrix/modules/main/lib/httpresponse.php:232 Stack trace: #0 [internal function]: Bitrix\Main\Diag\ExceptionHandler->handleError(2, 'Cannot modify h...', '/home/bitrix/ww...', 232) #1 /home/bitrix/www/bitrix/modules/main/lib/httpresponse.php(232): header('Status: 500 Int...') #2 /home/bitrix/www/bitrix/modules/main/lib/httpresponse.php(173): Bitrix\Main\HttpResponse->flushStatus() #3 /home/bitrix/www/bitrix/modules/main/lib/diag/httpexceptionhandleroutput.php(20): Bitrix\Main\HttpResponse->writeHeaders() #4 /home/bitrix/www/bitrix/modules/main/lib/diag/exceptionhandler.php(274): Bitrix\Main\Diag\HttpExceptionHandlerOutput->renderExceptionMessage(Object(ErrorException), true) #5 /home/bitrix/www/bitrix/modules/main/lib/diag/exceptionhandler.php(387): Bitrix\Main\Diag\ExceptionHandler->handleException(Object(ErrorException), 5) #6 [internal function]: Bitrix\Main\Diag\ExceptionHandler->handleFatalError() #7 {main} thrown in /home/bitrix/www/bitrix/modules/main/lib/httpresponse.php on line 232