In most of the cases, the PHP xml extension is not included on Ubuntu, which throw an exception with the usage of classes like
XmlUtils that instantiate the
To solve this issue execute the following command in a terminal:
sudo apt-get install php-xml
Then restart apache (in case it's active) using:
sudo service apache2 restart
and continue with what you were doing.
Still without work?
If the installation of the
php-xml extension doesn't work, then proceed to install
sudo apt-get install php-curl sudo apt-get install php-mbstring sudo apt-get update
This should fix the problem, happy coding !