error 500 nginx multisite
-
Setup is nginx + fastcgi_cache + subdomain-multisite.
After activation of the fvm plugin non-admin pages get 500 error.
Nginx error log:
2018/09/04 12:34:56 [error] 727#727: *207 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Class ‘DOMDocument’ not found in /var/www/example.nl/wp-content/plugins/fast-velocity-minify/fvm.php:1232
Stack trace:
#0 /var/www/example.nl/wp-includes/class-wp-hook.php(286): fastvelocity_min_defer_js(‘<script type=’t…’, ‘fvm-header-0′, ‘//example.nl/wp-co…’)
#1 /var/www/example.nl/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘<script type=’t…’, Array)
#2 /var/www/example.nl/wp-includes/class.wp-scripts.php(338): apply_filters(‘script_loader_t…’, ‘<script type=’t…’, ‘fvm-header-0′, ‘//example.nl/wp-co…’)
#3 /var/www/example.nl/wp-includes/class.wp-dependencies.php(106): WP_Scripts->do_item(‘fvm-header-0’, 0)
#4 /var/www/example.nl/wp-includes/class.wp-scripts.php(503): WP_Dependencies->do_items(Array, 0)
#5 /var/www/example.nl/wp-includes/script-loader.php(1295): WP_Scripts->do_head_items()
#6 /var/www/example.nl/wp-includes/script-loader.php(1406): print_head_scripts()
#7 /var/www/example.nl/wp-includes/class-wp-hook.php(286): wp_print_head_scripts(”)
#8 /var/www/example” while reading response header from upstream, client: 12.34.56.78, server: example.nl, request: “GET / HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php/php7.0-fpm.sock:”, host: “example.nl”What to do now?
P.S. the #8 /var/www/example looks not right, the web folder is example.nl
- The topic ‘error 500 nginx multisite’ is closed to new replies.