Uncaught Error: Class ‘DOMDocument’
-
In the “Above The Fold Optimization” screen, on the “Critical CSS” tab, if I use the “Extract Full CSS” by selecting “Home Page (Index)” and clicking “Print”, I get a new window with the URL of “https://www.planetscon.com/?extract-css=39bf18531a83fc138e3cfb5e2be27068&output=print”. However, the page displays as normal.
In the error logs of the nGinx server I get the following:
2016/12/22 12:31:32 [error] 4158#4158: *805 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class 'DOMDocument' not found in /var/www/planetscon_com/public_html/wp-content/plugins/above-the-fold-optimization/includes/extract-full-css.class.php:92 Stack trace: #0 [internal function]: Abovethefold_ExtractFullCss->end_buffering('<!DOCTYPE html>...', 9) #1 /var/www/planetscon_com/public_html/wp-includes/functions.php(3673): ob_end_flush() #2 /var/www/planetscon_com/public_html/wp-includes/class-wp-hook.php(298): wp_ob_end_flush_all('') #3 /var/www/planetscon_com/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array) #4 /var/www/planetscon_com/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /var/www/planetscon_com/public_html/wp-includes/load.php(670): do_action('shutdown') #6 [internal function]: shutdown_action_hook() #7 {main} thrown in /var/www/planetscon_com/public_html/wp-content/plugins/above-the-fold-optimization/includes/extract-full-css.class.php on line 92" while reading upstream, client: <my ip addr>, server: , request: "GET /?extract-css=39bf18531a83fc138e3cfb5e2be27068&output=download HTTP/2.0", upstream: "fastcgi://unix:/run/php/planetscon_com.sock:", host: "www.planetscon.com"
I am running Ubuntu 16.04.1 LTS / nginx/1.10.0 (Ubuntu) / PHP 7.0.8-0ubuntu0.16.04.3 (cli) ( NTS )
Thank you, and please let me know what other information would be helpful.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Uncaught Error: Class ‘DOMDocument’’ is closed to new replies.