Error map
Undefined array key Warning: Undefined array key / Undefined index
PHP · layer 4, Application & API
Centre: this error. First ring: errors it is linked with (7). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.
Directly related (7)
TypeError: Cannot read properties of undefined (reading 'x')
You tried to access a property on a value that is `undefined` (or `null`) — usually data that hasn’t loaded yet or a wrong proper…
TypeError: Reduce of empty array with no initial value
Array.reduce() ran on an empty array without an initial value.
java.lang.ArrayIndexOutOfBoundsException: Index 5 out of bounds for length 5
Code accessed an array index outside 0 … length-1.
Warning: Cannot modify header information - headers already sent
You called `header()`, `setcookie()` or `session_start()` after output had already been sent to the browser.
Warning: Trying to access array offset on value of type null
Code used `$x['key']` where `$x` is null — usually a lookup or function that returned nothing.
KeyError: 'x'
You accessed a dictionary key that doesn’t exist.
RangeError: Invalid array length
An array was created or resized with a negative, fractional or enormous length.
Two steps away (19)
System.NullReferenceException: Object reference not set to an instance of an object
Code dereferenced a variable that is `null` — the .NET equivalent of Java’s NullPointerException.
TypeError: x is not a function
You called something as a function, but its value is not a function (it’s undefined, a string, an object…).
ReferenceError: x is not defined
Code refers to a variable or function name that doesn’t exist in the current scope.
AbortError: The user aborted a request. / signal is aborted without reason
A fetch was cancelled through an AbortController (or the browser cancelled it).
TypeError: Failed to execute 'json' on 'Response': body stream already read
A fetch Response body was consumed twice (e.g. calling .text() then .json()).
TypeError: Cannot read properties of undefined (reading 'length')
Code checked .length on something that is undefined — typically an array or string that hasn’t loaded.
java.lang.StringIndexOutOfBoundsException: begin 0, end 10, length 5
substring()/charAt() used an index outside the string.
java.lang.UnsupportedOperationException (List.of / Arrays.asList is immutable)
Code tried to modify an immutable or fixed-size collection.
java.io.IOException: Stream closed
Code read or wrote a stream after it was closed — often by a try-with-resources block or a wrapper closing the underlying stream.
HTTP 500 Internal Server Error
The server hit an unexpected condition — usually an unhandled exception or misconfiguration in the application.
PHP Fatal error: Uncaught Error: Call to undefined function
PHP can’t find the function you called — usually a missing extension, missing include, or namespace issue.
WordPress: Updating failed. The response is not a valid JSON response.
The block editor saved via the REST API but got HTML or an error page back — broken permalinks, a security plugin/WAF, or PHP out…
TypeError: x is not iterable
for…of, spread or destructuring was used on something that isn’t an array/iterable.
TypeError: Cannot convert undefined or null to object
Object.keys/entries/assign was called with undefined or null.
Warning: Undefined variable $x
PHP read a variable that was never assigned in the current scope.
TypeError: 'NoneType' object is not subscriptable
You used `[ ]` on a value that is `None` — typically a function that returned nothing.
AttributeError: 'X' object has no attribute 'y'
You accessed an attribute or method that doesn’t exist on that object type.
Kubernetes: CreateContainerConfigError — secret / configmap not found
Kubernetes can’t build the container’s configuration — usually a referenced Secret, ConfigMap or key doesn’t exist in that namesp…
Chrome: Aw, Snap! Something went wrong while displaying this webpage. Error code: STATUS_ACCESS_VIOLATION / SIGILL / Out of Memory
A Chrome tab crashed — out of memory, a faulty extension, a graphics/driver issue or a very heavy page.
Map another error
Popular: 4035004000xC000007BTypeErrorCritical error404NullPointerException