PHP Warnings / Notices / Deprecations

Warnings and Notice Tracking is available only customers with recent plans (introduced in April 2023) and requires PHP Extension 5.6+ and Daemon 1.8.34+

Track Warnings and Notices that PHP emits at runtime due to internal reasons or when explicitly triggered with trigger_error.

Warnings and Notices are aggregated based on the file and line they occur at.

By default warnings and notices tracking is disabled and needs to be set in the PHP INI configuration of your project with this directives:

tideways.features.warnings=1
tideways.features.notices=1

Deprecation Tracking

Deprecations Tracking is similar to Exception Tracking and logs all PHP errors with the E_DEPRECATED and E_USER_DEPRECATED error type. Deprecations are aggregated based on their message text.

By default deprecations tracking is disabled and needs to be set in the PHP INI configuration of your project with this directive:

tideways.features.deprecations=1

Non-Fatal Error Tracking Limit

Tideways can only ingest a limited amount of warnings, notices, deprecations in every request and limits the number of warnings/notices that the PHP extension collects and sends to the daemon to 3 by default. You can increase this setting with the INI setting:

tideways.non_fatal_errors_limit_per_type=10

You then need to restart your PHP process (FPM, Apache) and warnings, notices will be tracked from there on.

Still need help? Email [email protected]