Fatal error: Uncaught TypeError: flock(): Argument #1 ($stream) must be of type resource, bool given in /web/sites/opencart-hub.com/system/library/cache/file.php:30
Stack trace:
#0 /web/sites/opencart-hub.com/system/library/cache/file.php(30): flock(false, 1)
#1 /web/sites/opencart-hub.com/system/library/cache.php(41): Cache\File->get('custom.menuItem...')
#2 /web/sites/opencart-hub.com/catalog/controller/custom/menu/oct_menu.php(72): Cache->get('custom.menuItem...')
#3 /web/sites/opencart-hub.com/catalog/controller/custom/menu/oct_menu.php(22): ControllerCustomMenuOctMenu->getOCTMegaMenu(Array)
#4 /web/sites/opencart-hub.com/catalog/controller/custom/menu/oct_menu.php(40): ControllerCustomMenuOctMenu->index(Array)
#5 /web/sites/opencart-hub.com/storage/modification/system/engine/action.php(79): ControllerCustomMenuOctMenu->horizontal(Array)
#6 /web/sites/opencart-hub.com/storage/modification/system/engine/loader.php(48): Action->execute(Object(Registry), Array)
#7 /web/sites/opencart-hub.com/catalog/controller/custom/events/header.php(261): Loader->controller('custom/menu/oct...')
#8 /web/sites/opencart-hub.com/catalog/controller/custom/events/header.php(22): ControllerCustomEventsHeader->loadMegaMenu(Array)
#9 /web/sites/opencart-hub.com/storage/modification/system/engine/action.php(79): ControllerCustomEventsHeader->index('common/header', Array, '')
#10 /web/sites/opencart-hub.com/system/engine/event.php(62): Action->execute(Object(Registry), Array)
#11 /web/sites/opencart-hub.com/storage/modification/system/engine/loader.php(113): Event->trigger('view/common/hea...', Array)
#12 /web/sites/opencart-hub.com/storage/modification/catalog/controller/common/header.php(93): Loader->view('common/header', Array)
#13 /web/sites/opencart-hub.com/storage/modification/system/engine/action.php(79): ControllerCommonHeader->index(Array)
#14 /web/sites/opencart-hub.com/storage/modification/system/engine/loader.php(48): Action->execute(Object(Registry), Array)
#15 /web/sites/opencart-hub.com/storage/modification/catalog/controller/product/search.php(620): Loader->controller('common/header')
#16 /web/sites/opencart-hub.com/storage/modification/system/engine/action.php(79): ControllerProductSearch->index()
#17 /web/sites/opencart-hub.com/catalog/controller/startup/router.php(27): Action->execute(Object(Registry))
#18 /web/sites/opencart-hub.com/storage/modification/system/engine/action.php(79): ControllerStartupRouter->index()
#19 /web/sites/opencart-hub.com/system/engine/router.php(67): Action->execute(Object(Registry))
#20 /web/sites/opencart-hub.com/system/engine/router.php(56): Router->execute(Object(Action))
#21 /web/sites/opencart-hub.com/system/framework.php(179): Router->dispatch(Object(Action), Object(Action))
#22 /web/sites/opencart-hub.com/system/startup.php(104): require_once('/web/sites/open...')
#23 /web/sites/opencart-hub.com/index.php(19): start('catalog')
#24 {main}
thrown in /web/sites/opencart-hub.com/system/library/cache/file.php on line 30