Applicable to:
- Plesk for Linux
Symptoms
-
Unable to update a WordPress instance via Smart Update in WP Toolkit:
Smart Update test run could not be performed due to errors. Address the errors and try running Smart Update again. Malformed sitemap given
-
Errors in
/var/log/plesk/panel.log
with debug enabled:DEBUG [extension/wp-toolkit] Begin traversing pages from sitemap: https://example.com/smart-update-sitemap.xml
[2021-10-11 08:13:44.838] 338053:6163f2385dd0a DEBUG [extension/wp-toolkit] Smart Update could not fetch the website sitemap. Only XML sitemaps are supported, given: text/html.
[2021-10-11 08:13:44.840] 338053:6163f2385dd0a DEBUG [extension/wp-toolkit] PleskExt\WpToolkit\SmartUpdates\Exception\SitemapUnsupportedFormatException: Smart Update could not fetch the website sitemap. Only XML sitemaps are supported, given: text/html.
Cause
The domain's sitemap does not exist or is not valid. Then if this is absent or invalid, the Smart Update feature cannot use it to check the instance pages and the update is not performed.
Resolution
- Contact the website developer to correct the sitemap or create it if it's absent.
Comments
0 comments
Please sign in to leave a comment.