samdark / sitemap

Sitemap and sitemap index builder
BSD 3-Clause "New" or "Revised" License
534 stars 86 forks source link

Fix buffer size is too big #93

Closed mougrim closed 1 year ago

mougrim commented 1 year ago

Fix error:

PHP Fatal error:  Uncaught OverflowException: The buffer size is too big for the defined file size limit in vendor/samdark/sitemap/Sitemap.php:234
Stack trace:
#0 vendor/samdark/sitemap/Sitemap.php(199): samdark\sitemap\Sitemap->flush()
#1 vendor/samdark/sitemap/Sitemap.php(212): samdark\sitemap\Sitemap->finishFile()

Related MR https://github.com/samdark/sitemap/pull/83.

mougrim commented 1 year ago

Hi, @samdark! Hope you are well. Could check MR, please? Do you need any help here?

samdark commented 1 year ago

Thanks!

mougrim commented 1 year ago

Thank you!