giandonatoinverso / PHP-Dynamic-Qr-code

PHP Dynamic Qr code is a script that allows the generation and saving of dynamic and static QR codes
MIT License
243 stars 73 forks source link

[BUG] Logging out give multiple Warning messages. #102

Closed mariushosting closed 2 months ago

mariushosting commented 2 months ago

@giandonatoinverso

Docker Version

When you click logout on the front-end you can see this error messages:

Deprecated: setcookie(): Passing null to parameter #2 ($value) of type string is deprecated in /var/www/html/helpers/helpers.php on line 44

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/helpers/helpers.php:44) in /var/www/html/helpers/helpers.php on line 44

Deprecated: setcookie(): Passing null to parameter #2 ($value) of type string is deprecated in /var/www/html/helpers/helpers.php on line 45

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/helpers/helpers.php:44) in /var/www/html/helpers/helpers.php on line 45

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/helpers/helpers.php:44) in /var/www/html/logout.php on line 10

giandonatoinverso commented 2 months ago

Solved, thanks for reporting