Answer the question
In order to leave comments, you need to log in
How to fix an error in Bitrix when deploying a site copy on VMbitrix 7.3?
I am a complete zero in this, please help ... I
deployed a backup copy of the site on a virtual machine ... and immediately this error appeared:
[ArgumentCountError]
Too few arguments to function CAllMain::IncludeComponent(), 1 passed in /home/bitrix/www/bitrix/templates/.default/header.php on line 125 and at least 2 expected (0)
/home/bitrix/www/bitrix/modules/main/classes/general/main.php:976
#0: CAllMain->IncludeComponent(string)
/home/bitrix/www/bitrix/templates/.default/header.php:125
#1: require_once(string)
/home/bitrix/www/bitrix/templates/main/header.php:5
#2: include_once(string)
/home/bitrix/www/bitrix/modules/main/include/prolog_after.php:106
#3: require(string)
/home/bitrix/www/bitrix/modules/main/include/prolog.php:11
#4: require_once(string)
/home/bitrix/www/bitrix/header.php:1
#5: require(string)
/home/bitrix/www/index.php:2
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question