No data/build.json file Phlo 500 Error
ErrorException

filemtime(): stat failed for /srv/gamma/release/data/build.json

build.php:75

Origin

#build.php:75
72 $appPath || error('No "app" path defined');
73 $dataPath ??= \defined('phlo\\data') ? \phlo\data : \rtrim($appPath, \phlo\slash).\phlo\slash.'data/';
74 \is_file($file = \rtrim($dataPath, \phlo\slash).\phlo\slash.'build.json') || error('No data/build.json file');
75 $time = \filemtime($file);
76 if (isset($cache[$key]) && ($mtime[$key] ?? 0) === $time) return $cache[$key];
77 $build = \json_decode(\file_get_contents($file), true);
78 \is_array($build) || error('Build Error: Invalid data/build.json');

Backtrace

File:LineCallContext
/srv/phlo/build.php:75error
/srv/phlo/build.php:75filemtimefilemtime()
/srv/phlo/build.php:46phlo\tech\sourcesphlo\tech\sources()
/srv/phlo/build.php:50phlo\tech\builderphlo\tech\builder()
/srv/phlo/build.php:54phlo\tech\buildphlo\tech\build()
/srv/gamma/release/app.php:14phlo\tech\releasephlo\tech\release()
/srv/phlo/functions.php:69phlo\app::BothGETReleasephlo\app::BothGETRelease()
/srv/gamma/release/app.php:26phlo\routephlo\route()
/srv/phlo/classes/obj.php:36phlo\app->controllerphlo\app->controller()
/srv/phlo/functions.php:194phlo\obj->__callphlo\obj->__call()
/srv/phlo/tech.php:50phlo\phlophlo\phlo()
/srv/phlo/tech.php:38phlo\tech\threadphlo\tech\thread()
/srv/phlo/tech.php:41frankenphp_handle_requestfrankenphp_handle_request()
/srv/gamma/data/worker.php:3phlo\tech\appphlo\tech\app()