• Resolved i0n1ca

    (@i0n1ca)


    Hello,

    A few days ago I saw again this kind of error and after checking the file feed-sitemap-index.php is missing from views folder.

    Can you update the plugin please? I have the latest 5.3.4 installed now.

    Thanks,

    ionica

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter i0n1ca

    (@i0n1ca)

    [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
    Thread Starter i0n1ca

    (@i0n1ca)

    Here is the stack trace from error log file:

    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

    Hi @i0n1ca thanks for reporting. I’ll try to reproduce and fix asap ??

    Hi, it does not make sense: there is no load_template() on line 186 in xml-sitemap-feed/controllers/functions.shared.php in the plugin version 5.3.4… the error only makes sense for version 5.3.3 or older.

    Could you make sure the plugin version is 5.3.4 and if so, delete the complete /xml-sitemap-feed/ plugin folder via FTP (not via the WordPress uninstaller because that will remove your settings) and then re-install the plugin via Plugins > Add New?

    Thread Starter i0n1ca

    (@i0n1ca)

    Hello Rolf,

    I have already deleted from wordpress and installed again with all my settings. Yes, the error is from 13th of may when I had the version 5.3.3 installed. Till now it seems that everything is ok and no errors are showned.

    Many thanks for your help,

    ionica

    Ah, you’re right I should have noticed the timestamp…

    So I can mark this as solved?

    Thread Starter i0n1ca

    (@i0n1ca)

    Sorry for your time checking this. Yes, I will close it now. Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘No such file’ is closed to new replies.