Hello,
I have a SEOPress fatal error when i try to upgrade my server to PHP 8.1 :
Fatal error: Uncaught Error: Class “domDocument” not found in /home/lani2181/restaurant-amalfi.fr/wp-content/plugins/wp-seopress/inc/functions/options-social.php:569 Stack trace: #0 /home/lani2181/restaurant-amalfi.fr/wp-content/plugins/wp-seopress/inc/functions/options-social.php(689): seopress_thumbnail_in_content() #1 /home/lani2181/restaurant-amalfi.fr/wp-includes/class-wp-hook.php(324): seopress_social_fb_img_hook() #2 /home/lani2181/restaurant-amalfi.fr/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #3 /home/lani2181/restaurant-amalfi.fr/wp-includes/plugin.php(517): WP_Hook->do_action() #4 /home/lani2181/restaurant-amalfi.fr/wp-includes/general-template.php(3052): do_action() #5 /home/lani2181/restaurant-amalfi.fr/wp-content/themes/restaurantamalfi/header.php(21): wp_head() #6 /home/lani2181/restaurant-amalfi.fr/wp-includes/template.php(790): require_once(‘/home/lani2181/…’) #7 /home/lani2181/restaurant-amalfi.fr/wp-includes/template.php(725): load_template() #8 /home/lani2181/restaurant-amalfi.fr/wp-includes/general-template.php(48): locate_template() #9 /home/lani2181/restaurant-amalfi.fr/wp-content/themes/restaurantamalfi/index.php(15): get_header() #10 /home/lani2181/restaurant-amalfi.fr/wp-includes/template-loader.php(106): include(‘/home/lani2181/…’) #11 /home/lani2181/restaurant-amalfi.fr/wp-blog-header.php(19): require_once(‘/home/lani2181/…’) #12 /home/lani2181/restaurant-amalfi.fr/index.php(17): require(‘/home/lani2181/…’) #13 {main} thrown in /home/lani2181/restaurant-amalfi.fr/wp-content/plugins/wp-seopress/inc/functions/options-social.php on line 569
I’ve had to go back to PHP 7.4 to resolve the issue.
The SEOPress version is the latest 7.4
Thanks for your help.
The page I need help with: [log in to see the link]
