• The plugin doesn’t work when using PHP 7 giving the following error:

    PHP Fatal error: Uncaught Error: Class ‘DOMDocument’ not found in /var/www/wp-content/plugins/ginger/front/gingerfront.core.php:171\nStack trace:\n#0 /var/www/wp-includes/class-wp-hook.php(298): ginger_parse_dom(‘<!DOCTYPE html>…’)\n#1 /var/www/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘<!DOCTYPE html>…’, Array)\n#2 /var/www/wp-content/plugins/ginger/front/gingerfront.core.php(124): apply_filters(‘final_output’, ‘<!DOCTYPE html>…’)\n#3 /var/www/wp-includes/class-wp-hook.php(298): __shutdown(”)\n#4 /var/www/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array)\n#5 /var/www/wp-includes/plugin.php(453): WP_Hook->do_action(Array)\n#6 /var/www/wp-includes/load.php(677): do_action(‘shutdown’)\n#7 [internal function]: shutdown_action_hook()\n#8 {main}\n thrown in /var/www/wp-content/plugins/ginger/front/gingerfront.core.php on line 171

    Is there a fix on the horizon?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m running the plugin over PHP 7 without issues.

    Thread Starter wtmann

    (@wtmann)

    OK, I found the problem. With PHP7 I had to install the php-xml and php-mbstring modules (which were included in the version I had before) separately. Now all is working. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP 7 errors’ is closed to new replies.