xref: /webtrees/resources/views/errors/database-error.phtml (revision ac71572d8462e396ed5a307f05b29381e49f9e6e)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\I18N;
6
7/**
8 * @var string $error
9 */
10
11?>
12
13<p>
14    <?= I18N::translate('An unexpected database error occurred.') ?>
15</p>
16
17<pre>
18    <?= e($error) ?>
19</pre>
20
21<p>
22    <?= I18N::translate('The webtrees developers would be very interested to learn about this error. If you contact them, they will help you resolve the problem.') ?>
23</p>
24