To populate the outline view (left panel) the parser read past \endinput command.
As per Latex rules, after this line everything should be ignored
The described error has been added to the official bug list.
Thank you for your report.
You seem to have CSS turned off.
Please don't fill out this field.