Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, bool given in /htdocs/phpbb/db/driver/mysqli.php:200
Stack trace:
#0 /htdocs/phpbb/db/driver/mysqli.php(200): mysqli_query(false, 'SELECT *\n\t\tFROM...')
#1 /htdocs/phpbb/db/driver/factory.php(353): phpbb\db\driver\mysqli->sql_query('SELECT *\n\t\tFROM...', 0)
#2 /htdocs/ext/sjpphpbb/boarcopyright/event/listener.php(58): phpbb\db\driver\factory->sql_query('SELECT *\n\t\tFROM...')
#3 /htdocs/vendor/symfony/event-dispatcher/EventDispatcher.php(214): sjpphpbb\boarcopyright\event\listener->display_boarcopyright(Object(phpbb\event\data), 'core.append_sid', Object(phpbb\event\dispatcher))
#4 /htdocs/vendor/symfony/event-dispatcher/EventDispatcher.php(44): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'core.append_sid', Object(phpbb\event\data))
#5 /htdocs/phpbb/event/dispatcher.php(62): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('core.append_sid', Object(phpbb\event\data))
#6 /htdocs/phpbb/event/dispatcher.php(46): phpbb\event\dispatcher->dispatch('core.append_sid', Object(phpbb\event\data))
#7 /htdocs/includes/functions.php(1535): phpbb\event\dispatcher->trigger_event('core.append_sid', Array)
#8 /htdocs/phpbb/routing/helper.php(160): append_sid('/feed', false, true, false, true)
#9 /htdocs/phpbb/template/twig/extension/routing.php(36): phpbb\routing\helper->route('phpbb_feed_inde...', Array, true, false, 1)
#10 /htdocs/cache/production/twig/a7/a7f11b03b2af8959ccddb70a9a54c10b.php(88): phpbb\template\twig\extension\routing->getPath('phpbb_feed_inde...')
#11 /htdocs/vendor/twig/twig/src/Template.php(405): __TwigTemplate_c2d5da3da11b2728318ddeb4c574b9b4->doDisplay(Array, Array)
#12 /htdocs/vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling(Array, Array)
#13 /htdocs/cache/production/twig/9f/9fa596adb446c0ab3f18b3bc405a69d5.php(61): Twig\Template->display(Array)
#14 /htdocs/vendor/twig/twig/src/Template.php(405): __TwigTemplate_29a39f7695530b1890c02581fb9b598c->doDisplay(Array, Array)
#15 /htdocs/vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling(Array, Array)
#16 /htdocs/vendor/twig/twig/src/Template.php(390): Twig\Template->display(Array)
#17 /htdocs/vendor/twig/twig/src/TemplateWrapper.php(45): Twig\Template->render(Array, Array)
#18 /htdocs/vendor/twig/twig/src/Environment.php(318): Twig\TemplateWrapper->render(Array)
#19 /htdocs/phpbb/template/twig/environment.php(224): Twig\Environment->render('message_body.ht...', Array)
#20 /htdocs/phpbb/template/twig/environment.php(186): phpbb\template\twig\environment->display_with_assets('message_body.ht...', Array)
#21 /htdocs/phpbb/template/twig/twig.php(335): phpbb\template\twig\environment->render('message_body.ht...', Array)
#22 /htdocs/phpbb/event/kernel_exception_subscriber.php(105): phpbb\template\twig\twig->assign_display('body')
#23 /htdocs/vendor/symfony/event-dispatcher/EventDispatcher.php(214): phpbb\event\kernel_exception_subscriber->on_kernel_exception(Object(Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent), 'kernel.exceptio...', Object(phpbb\event\dispatcher))
#24 /htdocs/vendor/symfony/event-dispatcher/EventDispatcher.php(44): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'kernel.exceptio...', Object(Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent))
#25 /htdocs/phpbb/event/dispatcher.php(62): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.exceptio...', Object(Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent))
#26 /htdocs/vendor/symfony/http-kernel/HttpKernel.php(227): phpbb\event\dispatcher->dispatch('kernel.exceptio...', Object(Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent))
#27 /htdocs/vendor/symfony/http-kernel/HttpKernel.php(79): Symfony\Component\HttpKernel\HttpKernel->handleException(Object(Symfony\Component\HttpKernel\Exception\NotFoundHttpException), Object(phpbb\symfony_request), 1)
#28 /htdocs/app.php(35): Symfony\Component\HttpKernel\HttpKernel->handle(Object(phpbb\symfony_request))
#29 {main}
thrown in /htdocs/phpbb/db/driver/mysqli.php on line 200