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