Skip to Content

An error occurred while trying to submit the form

Error: unable to submit form


Overview: This article addresses the error encountered when saving account settings, including a new YubiKey password: "An error occurred while trying to submit the form - For PHP < 7.2, XML extension is required." The solution involves installing the php-xml extension on the server. This can be achieved using the appropriate package manager for your operating system: apt for Ubuntu and yum for CentOS.


Got the error 'An error occurred while trying to submit the form' while saving the account -> password -> new YubiKey settings.

For PHP < 7.2,  XML extension is required

Install php-xml extension to fix this error

 On ubuntu 

 root@ubuntu:~# apt install php-xml

On centos 

root@localhost:~# yum install php-xml


Related Articles

PHP extension ’mcrypt’ is required.

PHP Fatal error

How to upgrade PHP to 8.1 in Ubuntu