yiisoft/yii2 · error · Exception
No files were found for: "{implode(', ', $fixturesInput)}".
Error message
No files were found for: "{implode(', ', $fixturesInput)}".
Check that files exist under fixtures path:
"{$this->getFixturePath()}". What it means
Error "No files were found for: "{implode(', ', $fixturesInput)}". Check that files exist under fixtures path: "{$this->getFixturePath()}"." thrown in yiisoft/yii2.
Source
Thrown at framework/console/controllers/FixtureController.php:141
$except = $filtered['except'];
if (!$this->needToApplyAll($fixturesInput[0])) {
$fixtures = $filtered['apply'];
$foundFixtures = $this->findFixtures($fixtures);
$notFoundFixtures = array_diff($fixtures, $foundFixtures);
if ($notFoundFixtures !== []) {
$this->notifyNotFound($notFoundFixtures);
}
} else {
$foundFixtures = $this->findFixtures();
}
$fixturesToLoad = array_diff($foundFixtures, $except);
if (!$foundFixtures) {
throw new Exception(
'No files were found for: "' . implode(', ', $fixturesInput) . "\".\n" .
"Check that files exist under fixtures path: \n\"" . $this->getFixturePath() . '".'
);
}
if ($fixturesToLoad === []) {
$this->notifyNothingToLoad($foundFixtures, $except);
return ExitCode::OK;
}
if (!$this->confirmLoad($fixturesToLoad, $except)) {
return ExitCode::OK;
}
$fixtures = $this->getFixturesConfig(array_merge($this->globalFixtures, $fixturesToLoad));
if (!$fixtures) {
throw new Exception('No fixtures were found in namespace: "' . $this->namespace . '"' . '');View on GitHub (pinned to 66f00d18a2)
When it happens
Trigger: Thrown at framework/console/controllers/FixtureController.php:141 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of yiisoft/yii2@66f00d18a2 (2026-08-17).
Data as JSON: /api/errors/50d04895adf5b64c.
Report an issue: GitHub.