Error map

Allowed memory size exhausted PHP Fatal error: Allowed memory size of X bytes exhausted

PHP · layer 4, Application & API

Open the full error page →

Centre: this error. First ring: errors it is linked with (12). 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.

Allowed memory size exhausted — PHP Fatal error: Allowed memory size of X bytes exhausted (PHP)Allowed mem…500 — HTTP 500 Internal Server Error (HTTP)500Critical error — WordPress: There Has Been a Critical Error on This Website (WordPress)Critical errormysqli_sql_exception — Fatal error: Uncaught mysqli_sql_exception (PHP)mysqli_sql_exceptionCannot redeclare — Fatal error: Cannot redeclare function foo() (previously declared in …) (PHP)Cannot redeclareCall to member function on null — Fatal error: Uncaught Error: Call to a member function x() on null (PHP)Call to member func…DivisionByZeroError — Fatal error: Uncaught DivisionByZeroError: Division by zero (PHP)DivisionByZeroErrorArgumentCountError — Fatal error: Uncaught ArgumentCountError: Too few arguments to function foo(), 1 passed and exactly 2 expected (PHP)ArgumentCountErrorTypeError — Fatal error: Uncaught TypeError: foo(): Argument #1 ($x) must be of type int, string given (PHP)TypeErrorCall to undefined function (WordPress) — WordPress: Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() / add_action() / get_header() (WordPress)Call to undefined f…Maximum function nesting — Fatal error: Maximum function nesting level of '256' reached, aborting! (PHP)Maximum function ne…Plugin could not be activated because it triggered a fatal error — WordPress: Plugin could not be activated because it triggered a fatal error (WordPress)Plugin could not be…Uncaught Exception — Fatal error: Uncaught Exception: message in file.php:12 (PHP)Uncaught Exception404 — HTTP 404 Not Found (HTTP)404502 — HTTP 502 Bad Gateway (HTTP)502503 — HTTP 503 Service Unavailable (HTTP)503Call to undefined function — PHP Fatal error: Uncaught Error: Call to undefined function (PHP)Call to undefined f…Parse error — PHP Parse error: syntax error, unexpected … (PHP)Parse errorDB connection — WordPress: Error Establishing a Database Connection (WordPress)DB connection1064 — MySQL ERROR 1064 (42000): You have an error in your SQL syntax (MySQL)10641062 — MySQL ERROR 1062 (23000): Duplicate entry for key (MySQL)1062Maximum execution time — PHP Fatal error: Maximum execution time of 30 seconds exceeded (PHP)Maximum execution t…failed to open stream — Warning: include(x.php): Failed to open stream: No such file or directory (PHP)failed to open stre…Cannot use object as array — Fatal error: Uncaught Error: Cannot use object of type stdClass as array (PHP)Cannot use object a…NullReferenceException — System.NullReferenceException: Object reference not set to an instance of an object (.NET)NullReferenceExcept…NullPointerException — java.lang.NullPointerException (Java)NullPointerExceptionComposer memory — Composer: PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted (PHP)Composer memoryDivision by zero — SQL Error: division by zero / Divide by zero error encountered (SQL)Division by zeroZeroDivisionError — ZeroDivisionError: division by zero (Python)ZeroDivisionErrorPrimary script unknown — FastCGI sent in stderr: "Primary script unknown" (PHP)Primary script unkn…42883 function — ERROR: function x(text) does not exist — No function matches the given name and argument types (PostgreSQL)42883 functionTypeError arguments — TypeError: f() takes 1 positional argument but 2 were given (Python)TypeError argumentsArray to string conversion — Warning: Array to string conversion (PHP)Array to string con…Unsupported operand types — Fatal error: Uncaught TypeError: Unsupported operand types: string + int (PHP)Unsupported operand…Implicit float to int — Deprecated: Implicit conversion from float 2.5 to int loses precision (PHP)Implicit float to i…Installation failed: Could not create directory — WordPress: Installation failed: Could not create directory (plugin/theme install or update) (WordPress)Installation failed…Please enter your FTP credentials — To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed (WordPress)Please enter your F…Destination folder already exists — WordPress: Destination folder already exists. Plugin installation failed (WordPress)Destination folder …RangeError — RangeError: Maximum call stack size exceeded (JavaScript)RangeErrorStackOverflowError — java.lang.StackOverflowError (Java)StackOverflowErrorRecursionError — RecursionError: maximum recursion depth exceeded (Python)RecursionErrorNo valid plugins were found — The package could not be installed. No valid plugins were found (WordPress)No valid plugins we…requires at least PHP — WordPress: Your server is running PHP version 7.2 but WordPress 6.x requires at least 7.4 / This plugin requires a newer version of PHP (WordPress)requires at least P…The preview could not be loaded — Elementor: The preview could not be loaded / Server Error 500 / Preview Debug (WordPress)The preview could n…IllegalStateException — java.lang.IllegalStateException (Java)IllegalStateExcepti…ArithmeticException — java.lang.ArithmeticException: / by zero (Java)ArithmeticExceptionNoSuchElementException — java.util.NoSuchElementException: No value present (Java)NoSuchElementExcept…

Directly related (12)

500HTTP

HTTP 500 Internal Server Error

The server hit an unexpected condition — usually an unhandled exception or misconfiguration in the application.

Critical errorWordPress

WordPress: There Has Been a Critical Error on This Website

A PHP fatal error (usually from a plugin or theme) stopped WordPress; the real error is in the debug log or recovery-mode email.

mysqli_sql_exceptionPHP

Fatal error: Uncaught mysqli_sql_exception

A MySQLi query or connection failed; since PHP 8.1 MySQLi throws exceptions by default.

Cannot redeclarePHP

Fatal error: Cannot redeclare function foo() (previously declared in …)

The same function (or class) was defined twice — usually a file included more than once.

Call to member function on nullPHP

Fatal error: Uncaught Error: Call to a member function x() on null

Code called a method on a variable that is null instead of an object.

DivisionByZeroErrorPHP

Fatal error: Uncaught DivisionByZeroError: Division by zero

Code divided by zero (or used modulo by zero) — PHP 8 throws instead of warning.

ArgumentCountErrorPHP

Fatal error: Uncaught ArgumentCountError: Too few arguments to function foo(), 1 passed and exactly 2 expected

A function was called with fewer arguments than it requires.

TypeErrorPHP

Fatal error: Uncaught TypeError: foo(): Argument #1 ($x) must be of type int, string given

A function received a value of the wrong type for a typed parameter.

Call to undefined function (WordPress)WordPress

WordPress: Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() / add_action() / get_header()

Code called a WordPress function before WordPress loaded, or a theme/plugin file was opened directly.

Maximum function nestingPHP

Fatal error: Maximum function nesting level of '256' reached, aborting!

Recursion went deeper than Xdebug’s max_nesting_level allows (or PHP crashed with a segfault without Xdebug).

Plugin could not be activated because it triggered a fatal errorWordPress

WordPress: Plugin could not be activated because it triggered a fatal error

Activating the plugin caused a PHP fatal error — usually PHP version incompatibility, a conflict with another plugin/theme, or mi…

Uncaught ExceptionPHP

Fatal error: Uncaught Exception: message in file.php:12

An exception was thrown and nothing caught it, so PHP stopped the script.

Two steps away (34)

404HTTP

HTTP 404 Not Found

The server can’t find anything at the requested URL.

502HTTP

HTTP 502 Bad Gateway

A proxy or gateway (Nginx, load balancer, CDN) got an invalid response — or no response — from the upstream server behind it.

503HTTP

HTTP 503 Service Unavailable

The server is temporarily unable to handle the request — overloaded, in maintenance, or has no healthy backends.

Call to undefined functionPHP

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.

Parse errorPHP

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 reported.

DB connectionWordPress

WordPress: Error Establishing a Database Connection

WordPress can’t connect to its MySQL/MariaDB database with the credentials in wp-config.php, or the database server is down.

1064MySQL

MySQL ERROR 1064 (42000): You have an error in your SQL syntax

MySQL couldn’t parse the query. The text after “near” shows where parsing failed.

1062MySQL

MySQL ERROR 1062 (23000): Duplicate entry for key

An INSERT/UPDATE would create a duplicate value in a PRIMARY or UNIQUE key.

Maximum execution timePHP

PHP Fatal error: Maximum execution time of 30 seconds exceeded

The script ran longer than `max_execution_time` and PHP stopped it.

failed to open streamPHP

Warning: include(x.php): Failed to open stream: No such file or directory

PHP couldn’t open a file for include/require/fopen — wrong path, missing file, or no permission.

Cannot use object as arrayPHP

Fatal error: Uncaught Error: Cannot use object of type stdClass as array

Code used array syntax (`$x['key']`) on an object.

NullReferenceException.NET

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.

NullPointerExceptionJava

java.lang.NullPointerException

Code called a method or accessed a field on a reference that is `null`.

Composer memoryPHP

Composer: PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted

Composer ran out of memory while resolving or installing dependencies.

Division by zeroSQL

SQL Error: division by zero / Divide by zero error encountered

An expression divided by a value that was 0 for at least one row.

ZeroDivisionErrorPython

ZeroDivisionError: division by zero

A number was divided (or modulo’d) by zero.

Primary script unknownPHP

FastCGI sent in stderr: "Primary script unknown"

Nginx passed a script path to PHP-FPM that PHP-FPM couldn’t find — usually a wrong SCRIPT_FILENAME or root.

42883 functionPostgreSQL

ERROR: function x(text) does not exist — No function matches the given name and argument types

PostgreSQL found no function with that name and argument types — wrong types, missing extension, or schema not in search_path.

TypeError argumentsPython

TypeError: f() takes 1 positional argument but 2 were given

A function was called with more positional arguments than it accepts — very often a method missing `self`.

Array to string conversionPHP

Warning: Array to string conversion

An array was used where a string is expected — echoing it, concatenating it, or passing it to a string function.

Unsupported operand typesPHP

Fatal error: Uncaught TypeError: Unsupported operand types: string + int

An arithmetic or array operator was used with incompatible types (PHP 8 is stricter than PHP 7).

Implicit float to intPHP

Deprecated: Implicit conversion from float 2.5 to int loses precision

PHP 8.1+ warns when a float with a fractional part is silently converted to int (array keys, % operator, int parameters).

Installation failed: Could not create directoryWordPress

WordPress: Installation failed: Could not create directory (plugin/theme install or update)

WordPress can’t write to wp-content/plugins, themes or upgrade — ownership/permissions or disk space.

Please enter your FTP credentialsWordPress

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed

WordPress can’t write directly to its files (ownership differs from the PHP user), so it falls back to asking for FTP details.

Destination folder already existsWordPress

WordPress: Destination folder already exists. Plugin installation failed

A folder with the plugin/theme’s name already exists in wp-content, usually from a failed or partial previous install.

RangeErrorJavaScript

RangeError: Maximum call stack size exceeded

A function called itself (directly or indirectly) too many times — usually infinite recursion.

StackOverflowErrorJava

java.lang.StackOverflowError

The thread’s call stack overflowed — almost always unbounded recursion, sometimes a bidirectional toString/equals/JSON cycle.

RecursionErrorPython

RecursionError: maximum recursion depth exceeded

A function called itself (directly or indirectly) more than ~1000 times.

No valid plugins were foundWordPress

The package could not be installed. No valid plugins were found

The uploaded zip doesn’t contain a plugin main file with a plugin header at the expected level — often a zip of zips, a theme, or…

requires at least PHPWordPress

WordPress: Your server is running PHP version 7.2 but WordPress 6.x requires at least 7.4 / This plugin requires a newer version of PHP

WordPress core, a plugin or a theme needs a newer PHP than the server runs.

The preview could not be loadedWordPress

Elementor: The preview could not be loaded / Server Error 500 / Preview Debug

Elementor’s editor couldn’t load the page preview in its iframe — PHP errors, memory limits, mixed URLs, or plugin conflicts.

IllegalStateExceptionJava

java.lang.IllegalStateException

A method was called when the object wasn’t in the right state for it.

ArithmeticExceptionJava

java.lang.ArithmeticException: / by zero

Integer division or modulo by zero.

NoSuchElementExceptionJava

java.util.NoSuchElementException: No value present

Code asked for an element that doesn’t exist — Optional.get() on empty, iterator.next() past the end, Scanner with no input.