Fatal error: Uncaught Error: Call to a member function getCategory() on null in /var/www/switches/storage/modification/catalog/controller/common/search.php:18 Stack trace: #0 /var/www/switches/storage/modification/system/engine/action.php(79): ControllerCommonSearch->index(Array) #1 /var/www/switches/storage/modification/system/engine/loader.php(54): Action->execute(Object(Registry), Array) #2 /var/www/switches/catalog/controller/common/header.php(76): Loader->controller('common/search') #3 /var/www/switches/storage/modification/system/engine/action.php(79): ControllerCommonHeader->index(Array) #4 /var/www/switches/storage/modification/system/engine/loader.php(54): Action->execute(Object(Registry), Array) #5 /var/www/switches/catalog/controller/error/not_found.php(43): Loader->controller('common/header') #6 /var/www/switches/storage/modification/system/engine/action.php(79): ControllerErrorNotFound->index() #7 /var/www/switches/catalog/controller/startup/router.php(25): Action->execute(Object(Registry)) #8 /var/www/switch in /var/www/switches/storage/modification/catalog/controller/common/search.php on line 18