🐘 PHP errors

PHP fatal errors, warnings, parse errors and configuration limits.

CodeErrorWhat it means
Allowed memory size exhausted PHP Fatal error: Allowed memory size of X bytes exhausted The script tried to use more memory than PHP’s `memory_limit` allows.
Maximum execution time PHP Fatal error: Maximum execution time of 30 seconds exceeded The script ran longer than `max_execution_time` and PHP stopped it.
Call to undefined function 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.
Class not found PHP Fatal error: Uncaught Error: Class "X" not found PHP couldn’t load the class — autoloading failed, the namespace is wrong, or the dependency isn’t installed.
Parse error PHP Parse error: syntax error, unexpected … PHP can’t parse the file because of a syntax mistake — the real error is often on the line before the one rep…
Headers already sent Warning: Cannot modify header information - headers already sent You called `header()`, `setcookie()` or `session_start()` after output had already been sent to the browser.
Undefined array key Warning: Undefined array key / Undefined index Your code reads an array key that doesn’t exist — common with `$_GET`, `$_POST` and decoded JSON.