{"record":{"id":"0c2389278384c97b","repo":"yiisoft/yii2","slug":"no-fixtures-were-found-in-namespace-this-names","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":235,"sourceCode":"                \"Check that files exist under fixtures path: \\n\\\"\" . $this->getFixturePath() . '\".'\n            );\n        }\n\n        $fixturesToUnload = array_diff($foundFixtures, $except);\n\n        if ($fixturesToUnload === []) {\n            $this->notifyNothingToUnload($foundFixtures, $except);\n            return ExitCode::OK;\n        }\n\n        if (!$this->confirmUnload($fixturesToUnload, $except)) {\n            return ExitCode::OK;\n        }\n\n        $fixtures = $this->getFixturesConfig(array_merge($this->globalFixtures, $fixturesToUnload));\n\n        if ($fixtures === []) {\n            throw new Exception('No fixtures were found in namespace: ' . $this->namespace . '\".');\n        }\n\n        $this->unloadFixtures($this->createFixtures($fixtures));\n        $this->notifyUnloaded($fixtures);\n\n        return ExitCode::OK;\n    }\n\n    /**\n     * Show help message.\n     */\n    private function printHelpMessage()\n    {\n        $this->stdout($this->getHelpSummary() . \"\\n\");\n\n        $helpCommand = Console::ansiFormat('yii help fixture', [Console::FG_CYAN]);\n        $this->stdout(\"Use $helpCommand to get usage info.\\n\");\n    }","sourceCodeStart":217,"sourceCodeEnd":253,"githubUrl":"https://github.com/yiisoft/yii2/blob/66f00d18a29b520f85e8e8f1e32d1e7e7b556cac/framework/console/controllers/FixtureController.php#L217-L253","documentation":"Error \"No fixtures were found in namespace: {$this->namespace}\".\" thrown in yiisoft/yii2.","triggerScenarios":"Thrown at framework/console/controllers/FixtureController.php:235 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"}