background
Recently, when checking nginx’s log, I found a very strange log, so I tried my best to check it.
Error log:
Nginx.conf configuration:
Trigger condition:
visit: http://localhost:8907/logo After that, the log of using uninitialized “XXXX” variable while logging request will be recorded in the error log
reason
Although the variables set by set are global variables, if there is no assignment to the global variables set by set in each location, they are also undefined variables. If used, a warning will be triggered.
Similar Posts:
- [Solved] UnboundLocalError: local variable x referenced before assignment
- Setting and Research on splash of unity startup interface (logo is too large and background is fuzzy)
- The ‘INFORMATION_SCHEMA.GLOBAL_STATUS’ feature is disabled; see the documentation for …
- [Solved] Kibana Startup Error: error [03:10:02.393] [warning][process] Error: Request Timeout after 30000ms
- JS declares two variables with the same variable name
- Tensorflow error due to uninitialized variable [How to Fix]
- [Solved] Vue3 vite Error: Uncaught ReferenceError: require is not defined
- Solution to the problem of “TypeError: Assignment to constant variable”
- How to Solve Soapserver Error: ”looks like we got no XML document“
- shadows name ‘xxxx’ from outer scope