Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
The code is fairly explicit here; there's definitely logic to close off a file when it reaches 50,000 but it's clearly over-running in some cases here.I think the quickest solution for now is to reduce the limit from 50,000 to 40,000 which should mean if it continues to overrun then it still shouldn't exceed 50,000.This can only be changed by editing the code. The necessary file is src/XF/Sitemap/Builder.php. Find:[code=php]const MAX_FILE_ENTRIES = 50000;[/code]Replace with:[code=php]const MAX_FILE_ENTRIES = 40000;[/code]
The code is fairly explicit here; there's definitely logic to close off a file when it reaches 50,000 but it's clearly over-running in some cases here.
I think the quickest solution for now is to reduce the limit from 50,000 to 40,000 which should mean if it continues to overrun then it still shouldn't exceed 50,000.
This can only be changed by editing the code. The necessary file is src/XF/Sitemap/Builder.php. Find:
src/XF/Sitemap/Builder.php
[code=php]const MAX_FILE_ENTRIES = 50000;[/code]
Replace with:
[code=php]const MAX_FILE_ENTRIES = 40000;[/code]
We use essential cookies to make this site work, and optional cookies to enhance your experience.
See further information and configure your preferences