Food Truck Pro Creates Broken Sitemaps
Quote from Chris Colotti on November 5, 2023, 7:06 amI 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!
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!
Quote from Shop Manager on November 6, 2023, 5:49 amHi,
Please check your mailbox for an email containing the solution.
Hi,
Please check your mailbox for an email containing the solution.
Quote from Chris Colotti on November 8, 2023, 7:02 amI 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 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.
Quote from Chris Colotti on November 8, 2023, 7:03 amI 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.
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.
Quote from Shop Manager on November 9, 2023, 6:21 amHi,
Please check your mailbox for an email containing the solution.
Hi,
Please check your mailbox for an email containing the solution.