exception 'ErrorException' with message 'array_merge(): Argument #1 is not an array' in /mnt/hdd/home/users/imperiasveta/imperiasveta.com.ua/rexframework/controllers/pcatalog/PCatalogController.class.php:1383 Stack trace: #0 [internal function]: RexRunner::errorHandler(2, 'array_merge(): ...', '/mnt/hdd/home/u...', 1383, Array) #1 /mnt/hdd/home/users/imperiasveta/imperiasveta.com.ua/rexframework/controllers/pcatalog/PCatalogController.class.php(1383): array_merge(Object(MDB2_Error), NULL) #2 /mnt/hdd/home/users/imperiasveta/imperiasveta.com.ua/rexframework/system/core/RexRunner.class.php(105): PCatalogController->getBestsellers() #3 /mnt/hdd/home/users/imperiasveta/imperiasveta.com.ua/rexframework/system/core/RexRunner.class.php(123): RexRunner::runController('pCatalog', 'bestsellers') #4 /mnt/hdd/home/users/imperiasveta/imperiasveta.com.ua/rexframework/system/core/RexRunner.class.php(219): RexRunner::runBefore('product', 'default') #5 /mnt/hdd/home/users/imperiasveta/imperiasveta.com.ua/htdocs/index.php(76): RexRunner::run() #6 {main}