• Resolved mib2018

    (@mib2018)


    Installed on the new site and assume there was an existing site map. Issue is the error below is the only thing that shows up. Anything that is click just goes to a page with this message. Can’t remove anything and can’t change anything.

    XML Sitemap & Google News

    The following static file has been found. Either delete it or disable the conflicting sitemap.

Viewing 3 replies - 1 through 3 (of 3 total)
  • That’s the error we got too. Had to delete the plugin via SFTP.

    We also had in error_log:

    Using $this when not in object context in [...]wp-content/plugins/xml-sitemap-feed/views/admin/notice.php:14
    Stack trace:
    #0 [...]wp-content/plugins/xml-sitemap-feed/controllers/admin/notices.php(62): include()
    #1 [...]wp-includes/class-wp-hook.php(286): XMLSF_Admin_Notices::static_files_admin_notice('')
    #2 [...]wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(false, Array)
    #3 [...]wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #4 [...]wp-admin/admin-header.php(255): do_action('admin_notices')
    #5 [...]wp-admin/index.php(100): include('[...]')
    #6 {main}
    • This reply was modified 5 years, 7 months ago by kitchin.

    Hi @kitchin, again: thanks this helps a lot! The file views/admin/notice.php needs a change: $this->static_files must become parent::$static_files. It will be fixed in the upcoming 5.0.1

    If you have FTP you can modify the file yourself to get the error out of the way. Or just delete the complete directory /xml-sitemap-feed/ and reinstall when the new version arrives (in a few minutes, if I don’t run into problems again with the SVN commit hook that seems to be active on the WordPress repository)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Activated and Killed the Backend’ is closed to new replies.