I recently installed this module on a multi-site installation. I just received a screenshot of an error and it works beautifully, the only issue is, the user did not include the address bar (they often don't). As this is a multi-site setup, I didn't know which site the error was on, so it would be helpful to add a few more replacement patterns.
Extend ErrorPageRenderer to have a few more replacement patterns. Some examples helpful in my case:
{{ host }}
{{ request_uri }}
{{ request_method }}
{{ time }}
As I didn't know what would be available at the stage of the error, I simply used something quick and dirty, which won't work in everyone's case:
$replacements = [
# ...
'{{ host }}' => $_SERVER['HTTP_HOST'],
'{{ request_uri }}' => $_SERVER['REQUEST_URI'],
'{{ request_method }}' => $_SERVER['REQUEST_METHOD'],
'{{ time }}' => gmdate('Y-m-d H:i:s') . ' UTC',
];
Active
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.