• Resolved acp72

    (@acp72)


    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

    WordPress version 6.7.1

    Active theme: Neve (version 3.8.16)

    Current plugin: W3 Total Cache (version 2.8.1)

    PHP version 8.3.6

    Error 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:1546

    Stack 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

    (@vmarko)

    Hello @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:

    <?php
    
    phpinfo( );
    
    ?>

    in it, look at it in a browser added to your website URL. 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 extension. You can do so on Debian / Ubuntu using:

    sudo apt-get install php-dom
    

    And on Centos

    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

    (@acp72)

    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

    (@vmarko)

    Hello @acp72

    You are most welcome!

    We would really appreciate it if you could take a minute and post a review here. 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.