Please or Register to create posts and topics.

Food Truck Pro Creates Broken Sitemaps

I have discovered there is an issue specifically with the food trick PRO theme where the sitemaps get broken with an extra line in the XML file.  This is a common issue, but if any other theme (including the Food Truck Lite) the sitemaps are fine.  This appears to be something very isolated to the theme fils for Food Truck Pro so most likely affecting all users of this.

It needs to be fixed ASAP.

https://wickedpissahdeli.com/sitemap_index.xml

view-source:https://wickedpissahdeli.com/sitemap_index.xml

Note the blank Line 1 which is well documented:  https://yoast.com/help/xml-sitemap-error/

I have confirmed the issue is not present with any other theme, only when Food Truck Pro is activated, please fix and push an update!

Hi,

Please check your mailbox for an email containing the solution.

I was able to resolve this using a script, but there is still something in the code causing this.  It is also affecting the RSS feed XML as well with an empty line at the beginning.

https://piotrkrzyzek.com/wordpress-remove-blank-line-from-rss-feed-wordpress-error-on-line-2-at-column-6-xml-declaration-allowed-only-at-the-start-of-the-document/

I still do not have a valid license key, the original one in Email is no good I need a proper working key for my records and so I can activate the theme properly.

Hi,

Please check your mailbox for an email containing the solution.