• Resolved i0n1ca

    (@i0n1ca)


    Hello,

    A few days ago I saw again this kind of error and I am curios if this is only an issue on my side or it is from the plugin.

    I am using php 8.1 version and xml sitemap & google news 5.3.4 version

    [13-May-2023 21:26:05 UTC] PHP Warning:  require_once(.../public_html/wp-content/plugins/xml-sitemap-feed/views/feed-sitemap-index.php): Failed to open stream: No such file or directory in .../public_html/wp-includes/template.php on line 783
    [13-May-2023 21:26:05 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '.../public_html/wp-content/plugins/xml-sitemap-feed/views/feed-sitemap-index.php' (include_path='.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php') in .../public_html/wp-includes/template.php:783
    Stack trace:
    #0 .../public_html/wp-content/plugins/xml-sitemap-feed/controllers/functions.shared.php(186): load_template()
    #1 .../public_html/wp-includes/class-wp-hook.php(308): xmlsf_load_template()
    #2 .../public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #3 .../public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #4 .../public_html/wp-includes/functions.php(1624): do_action()
    #5 .../public_html/wp-includes/template-loader.php(48): do_feed()
    #6 .../public_html/wp-blog-header.php(19): require_once('/home/pu...')
    #7 .../public_html/index.php(17): require('/home/pu...')
    #8 {main} thrown in .../public_html/wp-includes/template.php on line 783

    Any help?

    Thanks,

    ionica

    #update it seems that there is a missing file …/views/feed-sitemap-index.php

    • This topic was modified 1 year, 6 months ago by i0n1ca.
Viewing 1 replies (of 1 total)
  • Hi, this would happen if a non-existant sitemap URL was visited (like in your case sitemap-index.xml or anything else like sitemap-abc.xml) but should no longer occur on version 5.3.5… Please let me know if you still encounter this error 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘PHP 8.1 Fatal error’ is closed to new replies.