Fatal error: Uncaught TypeError: flock(): Argument #1 ($stream) must be of type resource, false given in /home/httpd/javdaddy.com/content/html/admin/include/functions_cache.php:96 Stack trace: #0 /home/httpd/javdaddy.com/content/html/admin/include/functions_cache.php(96): flock(false, 2) #1 /home/httpd/javdaddy.com/content/html/api/categories.inc.php(41): get_cache('categories', 14400, 'str.all.ru.json', NULL) #2 /home/httpd/javdaddy.com/content/html/admin/smarty/plugins/function.api.php(33): tx2019_categories('str.all.ru', true) #3 /home/httpd/javdaddy.com/content/html/admin/smarty/template-c-site/%%EE^EE9^EE984FE6%%video.tpl.php(5): smarty_function_api(Array, Object(mysmarty_site)) #4 /home/httpd/javdaddy.com/content/html/admin/smarty/Smarty.class.php(1271): include('/home/httpd/jav...') #5 /home/httpd/javdaddy.com/content/html/admin/include/process_page.min.php(251): Smarty->fetch('video.tpl') #6 /home/httpd/javdaddy.com/content/html/video.php(1): require_once('/home/httpd/jav...') #7 {main} thrown in /home/httpd/javdaddy.com/content/html/admin/include/functions_cache.php on line 96