{"record":{"id":"6631df3025f81eca","repo":"yiisoft/yii2","slug":"no-fixtures-were-found-in-namespace-this-name","errorCode":null,"errorMessage":"No fixtures were found in namespace: \"{$this->namespace}\"","messagePattern":"No fixtures were found in namespace: \"(.+?)\"","errorType":"console","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"framework/console/controllers/FixtureController.php","lineNumber":159,"sourceCode":"            throw new Exception(\n                'No files were found for: \"' . implode(', ', $fixturesInput) . \"\\\".\\n\" .\n                \"Check that files exist under fixtures path: \\n\\\"\" . $this->getFixturePath() . '\".'\n            );\n        }\n\n        if ($fixturesToLoad === []) {\n            $this->notifyNothingToLoad($foundFixtures, $except);\n            return ExitCode::OK;\n        }\n\n        if (!$this->confirmLoad($fixturesToLoad, $except)) {\n            return ExitCode::OK;\n        }\n\n        $fixtures = $this->getFixturesConfig(array_merge($this->globalFixtures, $fixturesToLoad));\n\n        if (!$fixtures) {\n            throw new Exception('No fixtures were found in namespace: \"' . $this->namespace . '\"' . '');\n        }\n\n        $fixturesObjects = $this->createFixtures($fixtures);\n\n        $this->unloadFixtures($fixturesObjects);\n        $this->loadFixtures($fixturesObjects);\n        $this->notifyLoaded($fixturesObjects);\n\n        return ExitCode::OK;\n    }\n\n    /**\n     * Unloads the specified fixtures.\n     *\n     * For example,\n     *\n     * ```\n     * # unload the fixture data specified by User and UserProfile.","sourceCodeStart":141,"sourceCodeEnd":177,"githubUrl":"https://github.com/yiisoft/yii2/blob/66f00d18a29b520f85e8e8f1e32d1e7e7b556cac/framework/console/controllers/FixtureController.php#L141-L177","documentation":"Error \"No fixtures were found in namespace: \"{$this->namespace}\"\" thrown in yiisoft/yii2.","triggerScenarios":"Thrown at framework/console/controllers/FixtureController.php:159 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"66f00d18a29b520f85e8e8f1e32d1e7e7b556cac","analyzedAt":"2026-08-17T05:17:23.470Z","schemaVersion":2},"datasetVersion":"2026-08-17T09:17:11.063Z"}