xref: /webtrees/resources/views/errors/database-error.phtml (revision 45ebc6c6221f90468111ed2015b8449dca331d93)
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