Add Lesson Plan error

I am getting a blank page when I try create a lesson plan in v25:

[Wed Feb 22 04:31:08.709872 2023] [proxy_fcgi:error] [pid 31376:tid 140715677513472] [client xx.xx.xx.xx:0] AH01071: Got error ‘PHP message: PHP Warning: Header may not contain more than a single header, new line detected in /home/…/modules/Planner/planner_addProcess.php on line 272’, referer: http://…/index.php?q=/modules/Planner/planner_add.php&viewBy=class&gibbonCourseClassID=00002425&date=2023-02-22&timeStart=10:00:00&timeEnd=11:05:00

Gibbon Version
v25.0.00

PHP Version
7.4.33

MySQL Version
10.4.20

Also:

Gibbon Version
v25.0.00

PHP Version
7.4.30

MySQL Version
10.5.11

@ross
@rossdotparker

Hi Tieku, this isn’t necessarily a PHP error, it’s just a warning, and it looks like the warning itself is what is interfering with the redirect on this page. Ideally, these types of warnings should be turned off for any production server, as they’re only intended for developers to see. Be sure to either update your error logging levels in php.ini, or add the following to the bottom of your Gibbon config.php file:

ini_set(‘error_reporting’, E_ERROR);`