How to solve Twig\Sandbox\SecurityNotAllowedMethodError problem?
After I upgraded System Build Octobercms to version 2.2.1, I get a lot of Event Log messages like this:
Twig\Sandbox\SecurityNotAllowedMethodError: Calling any method on a "Cms\Classes\Controller" object is blocked in "/var/www/myweb.com/themes/web/partials/v8/json-ld.htm" at line 5. in /var/www/myweb.com/modules/system/twig/SecurityPolicy.php:123
The problem is, right now the home page of my website displays the PAGE ERROR . page
Last updated