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:Line | Call | Context |
|---|---|---|
| /srv/phlo/build.php:75 | error | |
| /srv/phlo/build.php:75 | filemtime | filemtime() |
| /srv/phlo/build.php:46 | phlo\tech\sources | phlo\tech\sources() |
| /srv/phlo/build.php:50 | phlo\tech\builder | phlo\tech\builder() |
| /srv/phlo/build.php:54 | phlo\tech\build | phlo\tech\build() |
| /srv/gamma/release/app.php:14 | phlo\tech\release | phlo\tech\release() |
| /srv/phlo/functions.php:69 | phlo\app::BothGETRelease | phlo\app::BothGETRelease() |
| /srv/gamma/release/app.php:26 | phlo\route | phlo\route() |
| /srv/phlo/classes/obj.php:36 | phlo\app->controller | phlo\app->controller() |
| /srv/phlo/functions.php:194 | phlo\obj->__call | phlo\obj->__call() |
| /srv/phlo/tech.php:50 | phlo\phlo | phlo\phlo() |
| /srv/phlo/tech.php:38 | phlo\tech\thread | phlo\tech\thread() |
| /srv/phlo/tech.php:41 | frankenphp_handle_request | frankenphp_handle_request() |
| /srv/gamma/data/worker.php:3 | phlo\tech\app | phlo\tech\app() |