Title: Util-Ui error
Last modified: December 17, 2024

---

# Util-Ui error

 *  Resolved [acp72](https://wordpress.org/support/users/acp72/)
 * (@acp72)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/util-ui-error/)
 * Hi,
 * I am having a problem with W3 Total Cache – I had this error report forwarded
   to me. When I access the admin area, the W3 Total Cache pages are blank. The 
   cache was working, but could be purged and wouldn’t update either.
 * Thanks
 * Andy
 *     ```wp-block-code
       WordPress version 6.7.1Active theme: Neve (version 3.8.16)Current plugin: W3 Total Cache (version 2.8.1)PHP version 8.3.6Error Details=============An error of type E_ERROR was caused in line 1546 of the file /var/www/acp.tld/wp-content/plugins/w3-total-cache/Util_Ui.php. Error message: Uncaught Error: Class "DOMDocument" not found in /var/www/acp.tld/wp-content/plugins/w3-total-cache/Util_Ui.php:1546Stack trace:#0 /var/www/acp.tld/wp-content/plugins/w3-total-cache/inc/options/common/top_nav_bar.php(163): W3TC\Util_Ui::get_allowed_html_for_wp_kses_from_content()#1 /var/www/acp.tld/wp-content/plugins/w3-total-cache/Generic_Plugin_Admin.php(388): require('...')#2 /var/www/acp.tld/wp-includes/class-wp-hook.php(324): W3TC\Generic_Plugin_Admin->top_nav_bar()#3 /var/www/acp.tld/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()#4 /var/www/acp.tld/wp-includes/plugin.php(517): WP_Hook->do_action()#5 /var/www/acp.tld/wp-admin/admin-header.php(303): do_action()#6 /var/www/acp.tld/wp-admin/admin.php(239): require_once('...')#7 {main}
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/util-ui-error/#post-18203754)
 * Hello [@acp72](https://wordpress.org/support/users/acp72/)
 * Thank youj for reaching out and I am happy to help!
 * Can please share when you started to experience this? Have you made any recent
   updates with the php or server?
   Create an empty PHP file _phpinfo.php_ and
 * add the following line of code:
 *     ```wp-block-code
       <?php
   
       phpinfo( );
   
       ?>
       ```
   
 * in it, look at it in a browser added to your website URL. [https://yourwebsite.com/phpinfo.php](https://yourwebsite.com/phpinfo.php)
 * Check if you can spot –disable-dom in the configuration options and/or if you
   can see details about the DOM extension in the list below.
 * If you cannot see DOM in the list or you see it is disabled, your PHP installation
   does not include the DOM extension. You’ll need to recompile your PHP installation
   from source to remedy that.
 * You need to install the [DOM](https://www.php.net/en/dom) extension. You can 
   do so on Debian / Ubuntu using:
 *     ```wp-block-code
       sudo apt-get install php-dom
       ```
   
 * And on Centos
 *     ```wp-block-code
       yum install php-xml
       ```
   
 * If you get conflicts between PHP packages, you could try to see if the specific
   PHP version package exists instead
 * I hope this helps!
   Thanks!
 *  Thread Starter [acp72](https://wordpress.org/support/users/acp72/)
 * (@acp72)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/util-ui-error/#post-18210647)
 * Thanks for your help. It was a new environment which needed
 * apt-**get** install php8.3-xml
 * All seems to be working now
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/util-ui-error/#post-18210977)
 * Hello [@acp72](https://wordpress.org/support/users/acp72/)
 * You are most welcome!
 * We would really appreciate it if you could take a minute and post a review [here](https://wordpress.org/support/plugin/w3-total-cache/reviews/).
   This will help us to continue offering a top-notch product to users.
   Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Util-Ui error’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/util-ui-error/#post-18210977)
 * Status: resolved