Finally I found the cause. I use publishing portal site template with custom master page. There are some javascript references in the header. When I removed references, the error has gone. Then I added “~“ to URL, then the error never came. <script src="~/sites/…