Post-sitemap.xml and portfoglio-sitemap.xml error on line 2 at column 1
-
Hello there,
We have a small issue with both post and portfoglio-sitemap.xml as this error occurs:
https://pasteboard.co/K9aK6cT.pngLooking at the page code, it seems like themes’ customizer.php file is mainly causing this issue. Especially this line:
$image_alt = get_post_meta( $image_id, '_wp_attachment_image_alt', true);
However, I didn’t get to find any blank space or code error, as the file is as new.
What I’ve done so far:
– Clear cache
– Disable/enable sitemap function in Yoast backend
– Checked theme functions.phpAll those things didn’t solve the issue and I’m out of ideas.
Thank you for your help!
Cheers
- This topic was modified 3 years, 4 months ago by .
- This topic was modified 3 years, 4 months ago by .
- This topic was modified 3 years, 4 months ago by .
- This topic was modified 3 years, 4 months ago by .
- This topic was modified 3 years, 4 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘Post-sitemap.xml and portfoglio-sitemap.xml error on line 2 at column 1’ is closed to new replies.