Created on 12 October 2022, over 2 years ago
Updated 23 March 2025, 14 days ago

So, I installed this module using composer and installed on my drupal website,
added this code in settings.php

set_error_handler(['Drupal\error_page\ErrorPageErrorHandler', 'handleError']);
set_exception_handler([
'Drupal\error_page\ErrorPageErrorHandler',
'handleException',
]);

// Log the UUID in the Drupal logs.
$settings['error_page']['uuid'] = TRUE;
// Your templates are located in path/to/templates, one level above the webroot.
$settings['error_page']['template_dir'] = DRUPAL_ROOT . '/web/modules/contrib/error_page/markup';

// To test out error page test
$settings['extension_discovery_scan_tests'] = TRUE;

but whenever i direct to an error page, it doesn't show what it suppose to show.

Is there any step i missed?

🐛 Bug report
Status

Postponed: needs info

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024