You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($this->byteCount + $dataSize + $footSize > $this->maxBytes) {
finishFile() functions is called which leads to zeroing urlsCount variable, but right after that a remaining chunk is appended to a file here (with contains up to $bufferSize URLs):
The problem lays in flush() function.
When a sitemap is truncated by size here:
sitemap/Sitemap.php
Line 232 in a7ba091
finishFile() functions is called which leads to zeroing urlsCount variable, but right after that a remaining chunk is appended to a file here (with contains up to $bufferSize URLs):
sitemap/Sitemap.php
Line 240 in a7ba091
Those URLs in that chunk aren't counted anywhere and a next sitemap overflows.
The text was updated successfully, but these errors were encountered: