---json { "layout": "median", "page_id": "1opeml2235tep1x1ivccw" } --- ====== Fatal Error - Class 'SimpleXMLElement' not found ====== ===== About ===== Until [[release:release#1.12|version 1.12]], ''Combostrap'' mades use of the [[https://www.php.net/manual/en/simplexml.installation.php|SimpleXml]] library to manipulate SVG and HTML code This library is installed by default and is therefore part of most of the installation. If you don't have it, you may got the following error and this article is a step by step on how to resolve it. ===== Steps ===== ==== PHP Fatal error: Uncaught Error: Class 'SimpleXMLElement' not found ==== The error that you will see in your log. PHP Fatal error: Uncaught Error: Class 'SimpleXMLElement' not found in /usr/share/dokuwiki/lib/plugins/combo/class/XmlUtility.php:110 Stack trace: #0 /usr/share/dokuwiki/lib/plugins/combo/class/LinkUtility.php(228): ComboStrap\\XmlUtility::isXml(' {{:support:simplexml_enabled_phpinfo.png|}} \\ If the extensions is not enabled, you need to enable it. ==== Enabling the SimpleXml Extension ==== Due to the complexity of server installation, we are giving below some tips but we can't help more without having access to the server. === Windows === For windows, you should [[https://windows.php.net/download|install a php]] that was compiled with ''SimpleXml'' (which should be the default) === Linux === On Linux, it may be: * not installed by default: # ubuntu, ... sudo apt-get install php-xml # centos, redhat sudo yum install php-xml * not configured in the ''php.ini''. Make sure that you see it in the extension. {{:support:simplexml_phpinfo_ini_parsed.png?800|}}