• Upgrading to PHP8 throws fatal errors. Specifically:

    PHP Fatal error:  
    Uncaught Error: Undefined constant \"WP_Error\" in /nas/content/live/xyzhost/wp-content/plugins/google-news-sitemap/apgnsm.php:174
    Stack trace:
    #0 /nas/content/live/xyzhost/wp-content/plugins/google-news-sitemap/apgnsm.php(123): apgnsm_generate_sitemap()
    #1 /nas/content/live/xyzhost/wp-includes/class-wp-hook.php(305): apgnsm_autobuild(667644)
    #2 /nas/content/live/xyzhost/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(true, Array)
    #3 /nas/content/live/xyzhost/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #4 /nas/content/live/xyzhost/wp-includes/post.php(5148): do_action('publish_page', 667644, Object(WP_Post))
    #5 /nas/content/live/xyzhost/wp-includes/post.php(4368): wp_transition_post_status('publish', 'publish', Object(WP_Post))
    #6 /nas/content/live/xyzhost/wp-includes/post.php(4570): wp_insert_post(Array, false, true)
    #7 /nas/content/live/xyzhost/wp-admin/includes/post.php(423): wp_update_post(Array)
    #8 /nas/content/live/xyzhost/wp-admin/post.php(227): edit_post()
    #9 {main}
    thrown in /nas/content/live/xyzhost/wp-content/plugins/google-news-sitemap/apgnsm.php on line 174

    Any chance the plugin can be upgrade to PHP8 compatibility? Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP8 Compatibility’ is closed to new replies.