Error when logging in, /usr/share/webapps/icingaweb2/library/Icinga/Authentication/User/

Hi,
Having problems logging into icingaweb2; does anyone have an idea how to solve this. I’m using Arch so it’s a very recent 8.2.6 version of PHP. I’m using nginx and postgres. I’ve included the error and icinga2 -v below.
Thanks
James

Uncaught Error: Call to undefined function Icinga\Authentication\User\pg_unescape_bytea() in /usr/share/webapps/icingaweb2/library/Icinga/Authentication/User/DbUserBackend.php:210
Stack trace:
#0 /usr/share/webapps/icingaweb2/library/Icinga/Authentication/User/DbUserBackend.php(228): Icinga\Authentication\User\DbUserBackend->getPasswordHash()
#1 /usr/share/webapps/icingaweb2/library/Icinga/Authentication/AuthChain.php(115): Icinga\Authentication\User\DbUserBackend->authenticate()
#2 /usr/share/webapps/icingaweb2/application/forms/Authentication/LoginForm.php(149): Icinga\Authentication\AuthChain->authenticate()
#3 /usr/share/webapps/icingaweb2/library/Icinga/Web/Form.php(1175): Icinga\Forms\Authentication\LoginForm->onSuccess()
#4 /usr/share/webapps/icingaweb2/application/controllers/AuthenticationController.php(94): Icinga\Web\Form->handleRequest()
#5 /usr/share/webapps/icingaweb2/library/vendor/Zend/Controller/Action.php(507): Icinga\Controllers\AuthenticationController->loginAction()
#6 /usr/share/webapps/icingaweb2/library/Icinga/Web/Controller/Dispatcher.php(76): Zend_Controller_Action->dispatch()
#7 /usr/share/webapps/icingaweb2/library/vendor/Zend/Controller/Front.php(937): Icinga\Web\Controller\Dispatcher->dispatch()
#8 /usr/share/webapps/icingaweb2/library/Icinga/Application/Web.php(290): Zend_Controller_Front->dispatch()
#9 /usr/share/webapps/icingaweb2/library/Icinga/Application/webrouter.php(105): Icinga\Application\Web->dispatch()
#10 /usr/share/webapps/icingaweb2/public/index.php(4): require_once(‘…’)
#11 {main}
thrown

Here’s my icinga2 --version

icinga2 - The Icinga 2 network monitoring daemon (version: r2.13.7-1)

Copyright (c) 2012-2023 Icinga GmbH (https://icinga.com/)
License GPLv2+: GNU GPL version 2 or later https://gnu.org/licenses/gpl2.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

System information:
Platform: Arch Linux
Platform version: Unknown
Kernel: Linux
Kernel version: 6.3.4-arch1-1
Architecture: x86_64

Build information:
Compiler: GNU 12.2.1
Build host: hawaiian
OpenSSL version: OpenSSL 3.1.1 30 May 2023

Application information:

General paths:
Config directory: /etc/icinga2
Data directory: /var/lib/icinga2
Log directory: /var/log/icinga2
Cache directory: /var/cache/icinga2
Spool directory: /var/spool/icinga2
Run directory: /run/icinga2

Old paths (deprecated):
Installation root: /usr
Sysconf directory: /etc
Run directory (base): /run
Local state directory: /var

Internal paths:
Package data directory: /usr/share/icinga2
State path: /var/lib/icinga2/icinga2.state
Modified attributes path: /var/lib/icinga2/modified-attributes.conf
Objects path: /var/cache/icinga2/icinga2.debug
Vars path: /var/cache/icinga2/icinga2.vars
PID path: /run/icinga2/icinga2.pid