Fatal error: Uncaught Error: Call to a member function AddHeadScript() on null in /home/bitrix/www/local/templates/.default/includes/blocks/popup/popup.php:4 Stack trace: #0 /home/bitrix/www/bitrix/modules/main/include/urlrewrite.php(160): include_once() #1 /home/bitrix/www/404.php(2): include_once('/home/bitrix/ww...') #2 {main} thrown in /home/bitrix/www/local/templates/.default/includes/blocks/popup/popup.php on line 4