A
A
Alexander Arbuzov2017-07-28 16:38:39
1C-Bitrix
Alexander Arbuzov, 2017-07-28 16:38:39

How to find an error in Bitrix?

The last of. Bitrix on openserver (localhost)
Yesterday I finished tinkering and closed my laptop. Today turned on - error:

[Bitrix\Main\SystemException] 
Not array returned from: Array
(
    [SORT] => 100
    [TO_MODULE_ID] => sale
    [TO_PATH] => 
    [TO_CLASS] => \Bitrix\Sale\Internals\ConversionHandlers
    [TO_METHOD] => onGetCounterTypes
    [TO_METHOD_ARG] => Array
        (
        )

    [VERSION] => 1
    [TO_NAME] => \Bitrix\Sale\Internals\ConversionHandlers::onGetCounterTypes (sale)
    [FROM_DB] => 1
)
 (0)
C:\OpenServer\domains\kalyan.localhost\bitrix\modules\conversion\lib\internals\typemanager.php:25
#0: Bitrix\Conversion\Internals\TypeManager::getTypesInternal()
  C:\OpenServer\domains\kalyan.localhost\bitrix\modules\conversion\lib\config.php:70
#1: Bitrix\Conversion\Config::getModules()
  C:\OpenServer\domains\kalyan.localhost\bitrix\modules\conversion\lib\internals\typemanager.php:70
#2: Bitrix\Conversion\Internals\TypeManager::getTypes()
  C:\OpenServer\domains\kalyan.localhost\bitrix\modules\conversion\lib\internals\basecontext.php:102
#3: Bitrix\Conversion\Internals\BaseContext->setAttribute(string, string)
  C:\OpenServer\domains\kalyan.localhost\bitrix\modules\conversion\lib\internals\handlers.php:94
#4: Bitrix\Conversion\Internals\Handlers::Bitrix\Conversion\Internals\{closure}(object)
  C:\OpenServer\domains\kalyan.localhost\bitrix\modules\conversion\lib\internals\handlers.php:270
#5: Bitrix\Conversion\Internals\Handlers::onSetDayContextAttributes(object)
  
#6: call_user_func_array(array, array)
  C:\OpenServer\domains\kalyan.localhost\bitrix\modules\main\classes\general\module.php:490
#7: ExecuteModuleEventEx(array, array)
  C:\OpenServer\domains\kalyan.localhost\bitrix\modules\conversion\lib\daycontext.php:242
#8: Bitrix\Conversion\DayContext->saveInstance()
  C:\OpenServer\domains\kalyan.localhost\bitrix\modules\conversion\lib\daycontext.php:210
#9: Bitrix\Conversion\DayContext::getInstance()
  C:\OpenServer\domains\kalyan.localhost\bitrix\modules\conversion\lib\internals\handlers.php:297
#10: Bitrix\Conversion\Internals\Handlers::onProlog()
  
#11: call_user_func_array(array, array)
  C:\OpenServer\domains\kalyan.localhost\bitrix\modules\main\classes\general\module.php:490
#12: ExecuteModuleEventEx(array)
  C:\OpenServer\domains\kalyan.localhost\bitrix\modules\main\classes\general\main.php:3552
#13: CAllMain::PrologActions()
  C:\OpenServer\domains\kalyan.localhost\bitrix\modules\main\include\prolog_before.php:16
#14: require_once(string)
  C:\OpenServer\domains\kalyan.localhost\bitrix\modules\main\include\prolog.php:10
#15: require_once(string)
  C:\OpenServer\domains\kalyan.localhost\bitrix\header.php:1
#16: require(string)
  C:\OpenServer\domains\kalyan.localhost\index.php:2

What does he want from me?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Nikolaev, 2017-07-28
@arbuzzz

The best solution is to contact Bitrix technical support, but only after you transfer/deploy the site using regular Bitrix tools.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question