No data/build.json file Phlo 500 Error
ErrorException

filemtime(): stat failed for /srv/qdev/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:7phlo\tech\sourcesphlo\tech\sources()
/srv/phlo/tech.php:33phlo\tech\changedphlo\tech\changed()
/srv/qdev/www/app.php:3phlo\tech\appphlo\tech\app()