PHP error category

Warnings & Notices

Non-fatal runtime diagnostics.

Warnings & Notices errors arise when non-fatal runtime diagnostics affect an executing PHP application or its supporting service. Use the exact signature and runtime context to narrow the cause before changing configuration.

The guides in this category separate code defects from environment differences, show focused diagnostics, and favor site-scoped corrections that preserve unrelated applications.

Guides in this category

Title Pattern Severity
display_errors change does not show startup errors display_errors => Off => Off warning
max_input_vars truncates form data Warning: Unknown: Input variables exceeded %d warning
PHP @ error suppression hides the root cause @%s suppresses a PHP diagnostic warning
PHP CLI argc or argv is missing Warning: Undefined variable $argv warning
PHP error_reporting hides warnings error_reporting() returns %d but expected E_ALL warning
PHP warning not handled correctly Warning: %s in %s on line %d warning
session_start called while a session is active Notice: session_start(): Ignoring session_start() because a session is already active notice
Trying to access array offset on null Warning: Trying to access array offset on null in %s on line %d warning
Undefined array key Warning: Undefined array key "%s" in %s on line %d warning

Helpful tools