Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Multiple PHP Errors in Log Output at production environment #147

Open
2 of 3 tasks
0x1026 opened this issue Nov 28, 2024 · 0 comments
Open
2 of 3 tasks

[Bug]: Multiple PHP Errors in Log Output at production environment #147

0x1026 opened this issue Nov 28, 2024 · 0 comments
Labels
area/logs Categorizes issue or PR as related to logs triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@0x1026
Copy link
Member

0x1026 commented Nov 28, 2024

Describe the Bug

The application logs contain recurring warnings and errors related to Apache configuration, PHP undefined variables, and header issues. These issues may affect the application's stability and user experience. Below are the specific problems observed:

Steps to Reproduce

  1. Run the application with the current configuration.
  2. Perform actions like navigating to /auth/login, /work-orders, /tree-types, and /elements.
  3. Observe the logs for the errors mentioned above.

Expected Behavior

The application server should produce minimal and clear logs, focusing on necessary information such as significant events, errors, or warnings only when absolutely required. Logs should not contain repetitive or redundant entries that can obscure meaningful data.

Actual Behavior

PHP Warnings:

  • Undefined array keys and properties.
  • Issues with http_response_code() due to headers already being sent.

Stack Trace

2024-11-28 02:19:53 AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.20.0.2. Set the 'ServerName' directive globally to suppress this message
2024-11-28 02:19:53 AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.20.0.2. Set the 'ServerName' directive globally to suppress this message
2024-11-28 02:19:53 [Thu Nov 28 01:19:53.176214 2024] [mpm_prefork:notice] [pid 1:tid 1] AH00163: Apache/2.4.62 (Debian) PHP/8.4.1 configured -- resuming normal operations
2024-11-28 02:19:53 [Thu Nov 28 01:19:53.176244 2024] [core:notice] [pid 1:tid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
2024-11-28 02:19:55 [Thu Nov 28 01:19:55.827136 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  Undefined array key "user" in /var/www/html/app/Layouts/MainLayout.php on line 120, referer: http://localhost:8000/auth/login
2024-11-28 02:19:55 [Thu Nov 28 01:19:55.827155 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  Trying to access array offset on null in /var/www/html/app/Layouts/MainLayout.php on line 120, referer: http://localhost:8000/auth/login
2024-11-28 02:19:55 [Thu Nov 28 01:19:55.827157 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  Undefined array key "user" in /var/www/html/app/Layouts/MainLayout.php on line 120, referer: http://localhost:8000/auth/login
2024-11-28 02:19:55 [Thu Nov 28 01:19:55.827158 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  Trying to access array offset on null in /var/www/html/app/Layouts/MainLayout.php on line 120, referer: http://localhost:8000/auth/login
2024-11-28 02:19:55 [Thu Nov 28 01:19:55.827325 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  http_response_code(): Cannot set response code - headers already sent (output started at /var/www/html/app/Layouts/MainLayout.php:59) in /var/www/html/app/Core/Router.php on line 156, referer: http://localhost:8000/auth/login
2024-11-28 02:19:59 [Thu Nov 28 01:19:59.409291 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  http_response_code(): Cannot set response code - headers already sent (output started at /var/www/html/app/Layouts/MainLayout.php:59) in /var/www/html/app/Core/Router.php on line 156, referer: http://localhost:8000/
2024-11-28 02:20:01 [Thu Nov 28 01:20:01.018878 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  http_response_code(): Cannot set response code - headers already sent (output started at /var/www/html/app/Layouts/MainLayout.php:59) in /var/www/html/app/Core/Router.php on line 156, referer: http://localhost:8000/users
2024-11-28 02:20:01 [Thu Nov 28 01:20:01.327682 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  http_response_code(): Cannot set response code - headers already sent (output started at /var/www/html/app/Layouts/MainLayout.php:59) in /var/www/html/app/Core/Router.php on line 156, referer: http://localhost:8000/work-orders
2024-11-28 02:20:01 [Thu Nov 28 01:20:01.601704 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  Attempt to read property "name" on null in /var/www/html/app/Views/Zones.php on line 39, referer: http://localhost:8000/work-orders
2024-11-28 02:20:01 [Thu Nov 28 01:20:01.601730 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  Attempt to read property "name" on null in /var/www/html/app/Views/Zones.php on line 39, referer: http://localhost:8000/work-orders
2024-11-28 02:20:01 [Thu Nov 28 01:20:01.657546 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  http_response_code(): Cannot set response code - headers already sent (output started at /var/www/html/app/Layouts/MainLayout.php:59) in /var/www/html/app/Core/Router.php on line 156, referer: http://localhost:8000/zones
2024-11-28 02:20:01 [Thu Nov 28 01:20:01.990061 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  http_response_code(): Cannot set response code - headers already sent (output started at /var/www/html/app/Layouts/MainLayout.php:59) in /var/www/html/app/Core/Router.php on line 156, referer: http://localhost:8000/tree-types
2024-11-28 02:20:02 [Thu Nov 28 01:20:02.443565 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  Undefined property: App\\Models\\Zone::$postal_code in /var/www/html/app/Views/Elements.php on line 47, referer: http://localhost:8000/tree-types
2024-11-28 02:20:02 [Thu Nov 28 01:20:02.446896 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  Undefined property: App\\Models\\Zone::$postal_code in /var/www/html/app/Views/Elements.php on line 47, referer: http://localhost:8000/tree-types
2024-11-28 02:20:02 [Thu Nov 28 01:20:02.450829 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  Undefined property: App\\Models\\Zone::$postal_code in /var/www/html/app/Views/Elements.php on line 47, referer: http://localhost:8000/tree-types
2024-11-28 02:20:02 [Thu Nov 28 01:20:02.502145 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  http_response_code(): Cannot set response code - headers already sent (output started at /var/www/html/app/Layouts/MainLayout.php:59) in /var/www/html/app/Core/Router.php on line 156, referer: http://localhost:8000/elements
2024-11-28 02:20:02 [Thu Nov 28 01:20:02.820189 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  http_response_code(): Cannot set response code - headers already sent (output started at /var/www/html/app/Layouts/MainLayout.php:59) in /var/www/html/app/Core/Router.php on line 156, referer: http://localhost:8000/task-types
2024-11-28 02:19:55 172.20.0.1 - - [28/Nov/2024:01:19:55 +0000] "GET / HTTP/1.1" 302 364 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:19:55 172.20.0.1 - - [28/Nov/2024:01:19:55 +0000] "GET /auth/login HTTP/1.1" 200 1288 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:19:55 172.20.0.1 - - [28/Nov/2024:01:19:55 +0000] "GET /assets/js/app.js HTTP/1.1" 200 286 "http://localhost:8000/auth/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:19:55 172.20.0.1 - - [28/Nov/2024:01:19:55 +0000] "GET /favicon.ico HTTP/1.1" 200 2584 "http://localhost:8000/auth/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:19:59 172.20.0.1 - - [28/Nov/2024:01:19:59 +0000] "POST /auth/login HTTP/1.1" 302 353 "http://localhost:8000/auth/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:19:59 172.20.0.1 - - [28/Nov/2024:01:19:59 +0000] "GET / HTTP/1.1" 200 2705 "http://localhost:8000/auth/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:19:59 172.20.0.1 - - [28/Nov/2024:01:19:59 +0000] "GET /favicon.ico HTTP/1.1" 200 2593 "http://localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:00 172.20.0.1 - - [28/Nov/2024:01:20:00 +0000] "GET /users HTTP/1.1" 200 3509 "http://localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:01 172.20.0.1 - - [28/Nov/2024:01:20:01 +0000] "GET /favicon.ico HTTP/1.1" 200 2593 "http://localhost:8000/users" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:01 172.20.0.1 - - [28/Nov/2024:01:20:01 +0000] "GET /work-orders HTTP/1.1" 200 3525 "http://localhost:8000/users" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:01 172.20.0.1 - - [28/Nov/2024:01:20:01 +0000] "GET /favicon.ico HTTP/1.1" 200 2593 "http://localhost:8000/work-orders" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:01 172.20.0.1 - - [28/Nov/2024:01:20:01 +0000] "GET /zones HTTP/1.1" 200 3211 "http://localhost:8000/work-orders" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:01 172.20.0.1 - - [28/Nov/2024:01:20:01 +0000] "GET /favicon.ico HTTP/1.1" 200 2593 "http://localhost:8000/zones" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:01 172.20.0.1 - - [28/Nov/2024:01:20:01 +0000] "GET /tree-types HTTP/1.1" 200 3325 "http://localhost:8000/zones" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:01 172.20.0.1 - - [28/Nov/2024:01:20:01 +0000] "GET /favicon.ico HTTP/1.1" 200 2593 "http://localhost:8000/tree-types" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:02 172.20.0.1 - - [28/Nov/2024:01:20:02 +0000] "GET /elements HTTP/1.1" 200 3371 "http://localhost:8000/tree-types" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:02 172.20.0.1 - - [28/Nov/2024:01:20:02 +0000] "GET /favicon.ico HTTP/1.1" 200 2593 "http://localhost:8000/elements" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:02 172.20.0.1 - - [28/Nov/2024:01:20:02 +0000] "GET /task-types HTTP/1.1" 200 3260 "http://localhost:8000/elements" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:02 172.20.0.1 - - [28/Nov/2024:01:20:02 +0000] "GET /favicon.ico HTTP/1.1" 200 2593 "http://localhost:8000/task-types" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:03 172.20.0.1 - - [28/Nov/2024:01:20:03 +0000] "GET /contracts HTTP/1.1" 200 3419 "http://localhost:8000/task-types" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:03 172.20.0.1 - - [28/Nov/2024:01:20:03 +0000] "GET /favicon.ico HTTP/1.1" 200 2593 "http://localhost:8000/contracts" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:03 172.20.0.1 - - [28/Nov/2024:01:20:03 +0000] "GET /task-types HTTP/1.1" 200 3260 "http://localhost:8000/contracts" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:03 172.20.0.1 - - [28/Nov/2024:01:20:03 +0000] "GET /favicon.ico HTTP/1.1" 200 2593 "http://localhost:8000/task-types" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:03 172.20.0.1 - - [28/Nov/2024:01:20:03 +0000] "GET /elements HTTP/1.1" 200 3371 "http://localhost:8000/task-types" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:03 172.20.0.1 - - [28/Nov/2024:01:20:03 +0000] "GET /favicon.ico HTTP/1.1" 200 2593 "http://localhost:8000/elements" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:04 172.20.0.1 - - [28/Nov/2024:01:20:04 +0000] "GET /zones HTTP/1.1" 200 3211 "http://localhost:8000/elements" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:04 172.20.0.1 - - [28/Nov/2024:01:20:04 +0000] "GET /favicon.ico HTTP/1.1" 200 2593 "http://localhost:8000/zones" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:04 172.20.0.1 - - [28/Nov/2024:01:20:04 +0000] "GET / HTTP/1.1" 200 2705 "http://localhost:8000/zones" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:04 172.20.0.1 - - [28/Nov/2024:01:20:04 +0000] "GET /favicon.ico HTTP/1.1" 200 2593 "http://localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:05 172.20.0.1 - - [28/Nov/2024:01:20:05 +0000] "GET /logout HTTP/1.1" 302 363 "http://localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:05 172.20.0.1 - - [28/Nov/2024:01:20:05 +0000] "GET /auth/login HTTP/1.1" 200 1288 "http://localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:05 172.20.0.1 - - [28/Nov/2024:01:20:05 +0000] "GET /favicon.ico HTTP/1.1" 200 2584 "http://localhost:8000/auth/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:11 172.20.0.1 - - [28/Nov/2024:01:20:11 +0000] "POST /auth/login HTTP/1.1" 302 354 "http://localhost:8000/auth/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:11 172.20.0.1 - - [28/Nov/2024:01:20:11 +0000] "GET / HTTP/1.1" 200 2698 "http://localhost:8000/auth/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:11 172.20.0.1 - - [28/Nov/2024:01:20:11 +0000] "GET /favicon.ico HTTP/1.1" 200 2589 "http://localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
2024-11-28 02:20:03 [Thu Nov 28 01:20:03.194152 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  http_response_code(): Cannot set response code - headers already sent (output started at /var/www/html/app/Layouts/MainLayout.php:59) in /var/www/html/app/Core/Router.php on line 156, referer: http://localhost:8000/contracts
2024-11-28 02:20:03 [Thu Nov 28 01:20:03.559394 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  http_response_code(): Cannot set response code - headers already sent (output started at /var/www/html/app/Layouts/MainLayout.php:59) in /var/www/html/app/Core/Router.php on line 156, referer: http://localhost:8000/task-types
2024-11-28 02:20:03 [Thu Nov 28 01:20:03.772959 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  Undefined property: App\\Models\\Zone::$postal_code in /var/www/html/app/Views/Elements.php on line 47, referer: http://localhost:8000/task-types
2024-11-28 02:20:03 [Thu Nov 28 01:20:03.776020 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  Undefined property: App\\Models\\Zone::$postal_code in /var/www/html/app/Views/Elements.php on line 47, referer: http://localhost:8000/task-types
2024-11-28 02:20:03 [Thu Nov 28 01:20:03.778748 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  Undefined property: App\\Models\\Zone::$postal_code in /var/www/html/app/Views/Elements.php on line 47, referer: http://localhost:8000/task-types
2024-11-28 02:20:03 [Thu Nov 28 01:20:03.831775 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  http_response_code(): Cannot set response code - headers already sent (output started at /var/www/html/app/Layouts/MainLayout.php:59) in /var/www/html/app/Core/Router.php on line 156, referer: http://localhost:8000/elements
2024-11-28 02:20:04 [Thu Nov 28 01:20:04.035424 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  Attempt to read property "name" on null in /var/www/html/app/Views/Zones.php on line 39, referer: http://localhost:8000/elements
2024-11-28 02:20:04 [Thu Nov 28 01:20:04.035447 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  Attempt to read property "name" on null in /var/www/html/app/Views/Zones.php on line 39, referer: http://localhost:8000/elements
2024-11-28 02:20:04 [Thu Nov 28 01:20:04.089234 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  http_response_code(): Cannot set response code - headers already sent (output started at /var/www/html/app/Layouts/MainLayout.php:59) in /var/www/html/app/Core/Router.php on line 156, referer: http://localhost:8000/zones
2024-11-28 02:20:04 [Thu Nov 28 01:20:04.379102 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  http_response_code(): Cannot set response code - headers already sent (output started at /var/www/html/app/Layouts/MainLayout.php:59) in /var/www/html/app/Core/Router.php on line 156, referer: http://localhost:8000/
2024-11-28 02:20:05 [Thu Nov 28 01:20:05.541576 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  Undefined array key "user" in /var/www/html/app/Layouts/MainLayout.php on line 120, referer: http://localhost:8000/auth/login
2024-11-28 02:20:05 [Thu Nov 28 01:20:05.541599 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  Trying to access array offset on null in /var/www/html/app/Layouts/MainLayout.php on line 120, referer: http://localhost:8000/auth/login
2024-11-28 02:20:05 [Thu Nov 28 01:20:05.541601 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  Undefined array key "user" in /var/www/html/app/Layouts/MainLayout.php on line 120, referer: http://localhost:8000/auth/login
2024-11-28 02:20:05 [Thu Nov 28 01:20:05.541603 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  Trying to access array offset on null in /var/www/html/app/Layouts/MainLayout.php on line 120, referer: http://localhost:8000/auth/login
2024-11-28 02:20:05 [Thu Nov 28 01:20:05.541773 2024] [php:warn] [pid 17:tid 17] [client 172.20.0.1:33928] PHP Warning:  http_response_code(): Cannot set response code - headers already sent (output started at /var/www/html/app/Layouts/MainLayout.php:59) in /var/www/html/app/Core/Router.php on line 156, referer: http://localhost:8000/auth/login
2024-11-28 02:20:11 [Thu Nov 28 01:20:11.397812 2024] [php:warn] [pid 18:tid 18] [client 172.20.0.1:33938] PHP Warning:  http_response_code(): Cannot set response code - headers already sent (output started at /var/www/html/app/Layouts/MainLayout.php:59) in /var/www/html/app/Core/Router.php on line 156, referer: http://localhost:8000/
2024-11-28 02:21:03 172.20.0.1 - - [28/Nov/2024:01:21:03 +0000] "-" 408 0 "-" "-"

Environment Information

  • OS: Windows 11
  • Platform and Architecture: x64
  • Interpreter/Compiler/SDK/Runtime Environment: Apache 2.4.62 (Debian), PHP 8.4.1
  • Relevant Tooling Versions: [e.g., npm 9.8.1, pip 23.0.1]
  • Browser (if applicable): Chrome 131.0.6778.86

Do you reliably reproduce the issue?

  • Yes
  • No

Input

No response

Output

No response

Screenshots or Media

No response

Additional Context

No response

Possible Solution

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@0x1026 0x1026 added kind/bug Categorizes issue or PR as related to a bug. triage/accepted Indicates an issue or PR is ready to be actively worked on. labels Nov 28, 2024
@0x1026 0x1026 added the area/logs Categorizes issue or PR as related to logs label Nov 28, 2024
@0x1026 0x1026 added this to the Sprint 3 - Prototype milestone Nov 29, 2024
@0x1026 0x1026 removed the kind/bug Categorizes issue or PR as related to a bug. label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/logs Categorizes issue or PR as related to logs triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
Status: Pendent
Development

No branches or pull requests

1 participant