Skip to Content

ga_log_fatal_errors()

Sends fatal PHP errors to Google Analytics as fatal exceptions.

PHP March 24, 2018

Usage

This function runs automatically, so it is not called manually. Is this incorrect?

Additional Notes

Google Analytics does not have a default exception report. You’ll need to make one or find one in the Gallery. I recommend Ron Whitman’s Exception Report.

This function can’t catch all errors, but it offers a glimpse into many that will prevent visitors from using the website.

JavaScript errors are also logged in the same report.

Source File

This function was not found in /libs/Utilities/Analytics.php. Please report this error.

No Hooks

This function does not have any filters or actions available. Request one?

Override

This function can not be short-circuited with an override filter. Request one?