Fatal error with PHP 7.1 when editing meta description
-
Problem with Yoast SEO and PHP Version 7.1.10 – I had to revert to PHP 7.0.24 for now. ??
Here ist the full PHP error (shown with WP debug mode on). With debug mode off, an completely empty page will be shown after saving text in the meta description field of a wordpress post, and the text will not be saved.
Fatal error: Uncaught ArgumentCountError: Too few arguments to function sanitize_meta(), 1 passed in /usr/www/wp-content/plugins/xml-news-sitemap/gns_xml.php on line 312 and exactly 3 expected in /usr/www/wp-includes/meta.php:946 Stack trace: #0 /usr/www/wp-content/plugins/xml-news-sitemap/gns_xml.php(312): sanitize_meta('de') #1 /usr/www/wp-includes/class-wp-hook.php(300): Gns_xml->dbdGsnSavePostData(18684) #2 /usr/www/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #3 /usr/www/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /usr/www/wp-includes/post.php(3510): do_action('save_post', 18684, Object(WP_Post), true) #5 /usr/www/wp-includes/post.php(3583): wp_insert_post(Array, false) #6 /usr/www/wp-admin/includes/post.php(378): wp_update_post(Array) #7 /usr/www/wp-admin/post.php(193): edit_post() #8 {main} thrown in /usr/www/wp-includes/meta.php on line 946
- The topic ‘Fatal error with PHP 7.1 when editing meta description’ is closed to new replies.