The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
Please Help with this error - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: Please Help with this error (/showthread.php?tid=1104)



Please Help with this error - techformatic - 07-28-2018

I get the below error on my page please help!!


Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /customers/6/3/d/edemeat.co.uk/httpd.www/users/self-assessment/note1.php:1) in /customers/6/3/d/edemeat.co.uk/httpd.www/users/init.php on line 3 Warning: Cannot modify header information - headers already sent by (output started at /customers/6/3/d/edemeat.co.uk/httpd.www/users/self-assessment/note1.php:1) in /customers/6/3/d/edemeat.co.uk/httpd.www/users/includes/header.php on line 3 Warning: Cannot modify header information - headers already sent by (output started at /customers/6/3/d/edemeat.co.uk/httpd.www/users/self-assessment/note1.php:1) in /customers/6/3/d/edemeat.co.uk/httpd.www/usersc/includes/security_headers.php on line 37 Warning: Cannot modify header information - headers already sent by (output started at /customers/6/3/d/edemeat.co.uk/httpd.www/users/self-assessment/note1.php:1) in /customers/6/3/d/edemeat.co.uk/httpd.www/usersc/includes/security_headers.php on line 52 Warning: Cannot modify header information - headers already sent by (output started at /customers/6/3/d/edemeat.co.uk/httpd.www/users/self-assessment/note1.php:1) in /customers/6/3/d/edemeat.co.uk/httpd.www/usersc/includes/security_headers.php on line 62 Warning: Cannot modify header information - headers already sent by (output started at /customers/6/3/d/edemeat.co.uk/httpd.www/users/self-assessment/note1.php:1) in /customers/6/3/d/edemeat.co.uk/httpd.www/usersc/includes/security_headers.php on line 75 Warning: Cannot modify header information - headers already sent by (output started at /customers/6/3/d/edemeat.co.uk/httpd.www/users/self-assessment/note1.php:1) in /customers/6/3/d/edemeat.co.uk/httpd.www/usersc/includes/security_headers.php on line 80


RE: Please Help with this error - Brandin - 07-28-2018

Did you customize your UserSpice installation or pages at all? It appears as if maybe you're double calling session_start() which is causing the header errors. StackOverflow helps with this: https://stackoverflow.com/questions/8028957/how-to-fix-headers-already-sent-error-in-php


RE: Please Help with this error - techformatic - 07-30-2018

Thank you so much!!! Error fixed now: it was caused by an unintentional whitespace before <?php