Can someone distribute options why such gaps in the code?

A little explain.
The site works on Bitrix, the gaps appear only after include menu, remove the menu and all the rules.
But in the code the menu items around and no problems were found, what, then, can create such gaps?
There are options for someone?
June 14th 19 at 19:19
2 answers
June 14th 19 at 19:21
Moved to edit menu items "file as" and discovered there are about 700 rows of blanks b***! What is the caliche did I XS, 4 days looking for the problem.
Well.. the error in their menu :) - Roel.OConnell30 commented on June 14th 19 at 19:24
June 14th 19 at 19:23
OK, why such big gaps in the code?

1) Possible error in the template file. You need to check all templates for the characters in the cycle.
You can try to replace your menu template, the standard template of Bitrix. Help? Error in the template. No? Error elsewhere.

2) Perhaps the bug is in result_modifier.php template.
No file or error on it? Error elsewhere.

3) Maybe someone made a menu in a local or modified a file in the kernel (/bitrix/components/bitrix/menu).
The kernel is not changed and the component in local no? Error elsewhere.

4) it is Possible to use the advanced menu and the error in it.
If the extended menu is not being used or there is no error, then the error in another place

5) Perhaps an error generating the menu.
For example, the menu items are generated php code, or going in some kind of include/require

The error still is not found?
Congratulations - You got a very good debug and maybe you should contact the technical support?

Find more questions by tags 1C-BitrixHTMLPHP