Well, I never found out how you solved your problem, but I had my own version of solving it. Yesterday I started to learn the fundamentals of on-page SEO and while reading I noticed an ad blocker. I have two plugins installed at once and I decided that one of them most likely interferes with the correct operation of the site (I have come across this before, but this was mainly manifested in the incorrect display of the page). I decided to disable these plugins and this error was gone. I really don't understand how this is related to each other, but it really helped me. Hopefully, if someone else finds this topic, it will be a solution to their problem. Have a nice day, everyone!