[Solved] Twig does not render just anything


Ok. I’ve found the problem!
In PHP version 7.1.8 there is a problem with PCRE library.
It uses outdated 8.38 version internaly.
I don’t know what is the exact problem but I’ve found that it has execution problem with complex search patterns.
I had problems with PHPMailer too and I found that it’s not evaluating perfectly valid host mach regex.

I’ve solved all of my problems by updating PHP to the latest version.

solved Twig does not render just anything