Uncaught Exception: Undefined index: COOKIE_SAMESITE

I keep getting the error below when I move my application from my localhost to the production server:

Fatal error: Uncaught Exception: Undefined index: COOKIE_SAMESITE in configuration. in /home//public_html/test/phpfn.php:39 Stack trace: #0 /home//public_html/test/index.php(9): PHPMaker2020\shopv6\Config(‘COOKIE_SAMESITE’) #1 {main} thrown in /home/******/public_html/test/phpfn.php on line 39

I have no idea where to go as I cannot the error application locally and all other applications on other production servers are working fine.

PHPMaker 2020.0.15

Found the problem.

I was using an old config file on the production server. It didn’t have these 3 lines in the Cookies section:

“COOKIE_HTTP_ONLY” => TRUE,
“COOKIE_SECURE” => “FALSE”,
“COOKIE_SAMESITE” => “Lax”,


Changes between PHPMaker versions…