S
S
sergeyviktorovich2021-01-20 20:38:04
1C-Bitrix
sergeyviktorovich, 2021-01-20 20:38:04

How to fix an error after transferring the site to a test subdomain?

created a backup copy, uploaded restor.php and launched the site got an error

[Error] 
Call to undefined method Bitrix\Main\UserTable::getUserSelectorContentFields() (0)
/home/pl-shop/test.pl-shop.ru/docs/bitrix/modules/main/lib/user.php:507
#0: Bitrix\Main\UserTable::indexRecordSelector(integer)
  /home/pl-shop/test.pl-shop.ru/docs/bitrix/modules/main/lib/update/userselectorstepper.php:53
#1: Bitrix\Main\Update\UserSelectorStepper->execute(array)
  /home/pl-shop/test.pl-shop.ru/docs/bitrix/modules/main/lib/update/stepper.php:138
#2: Bitrix\Main\Update\Stepper::execAgent()
  /home/pl-shop/test.pl-shop.ru/docs/bitrix/modules/main/classes/mysql/agent.php(163) : eval()'d code:1
#3: eval
  /home/pl-shop/test.pl-shop.ru/docs/bitrix/modules/main/classes/mysql/agent.php:163
#4: CAgent::ExecuteAgents(string)
  /home/pl-shop/test.pl-shop.ru/docs/bitrix/modules/main/classes/mysql/agent.php:40
#5: CAgent::CheckAgents()
  /home/pl-shop/test.pl-shop.ru/docs/bitrix/modules/main/include.php:264
#6: require_once(string)
  /home/pl-shop/test.pl-shop.ru/docs/bitrix/modules/main/include/prolog_before.php:14
#7: require_once(string)
  /home/pl-shop/test.pl-shop.ru/docs/bitrix/modules/main/include/prolog.php:10
#8: require_once(string)
  /home/pl-shop/test.pl-shop.ru/docs/bitrix/header.php:1
#9: require(string)
  /home/pl-shop/test.pl-shop.ru/docs/index.php:2


I tried logging into the admin and got the same error.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question