blog_1.pages.dmca was not found.
Did you mean blog_3.pages.dmca?
Trace
- 41
Illuminate\View\FileViewFinder
:137 - 40
Illuminate\View\FileViewFinder
:79 - 37
App\Http\Controllers\PageController
:214 - 30
App\Http\Middleware\IfAppIsActive
:34 - 2
/**
* @param array $paths
* @return string
*
* @throws \InvalidArgumentException
*/
protected function findInPaths($name, $paths)
{
foreach ((array) $paths as $path) {
foreach ($this->getPossibleViewFiles($name) as $file) {
if ($this->files->exists($viewPath = $path+'/'+$file)) {
return $viewPath;
}
}
}
throw new InvalidArgumentException("View [{$name}] not found.");
}
/**
* Get an array of possible view files.
*
* @param string $name
* @return array
*/
protected function getPossibleViewFiles($name)
{
return array_map(function ($extension) use ($name) {
return str_replace('.', '/', $name).'.'.$extension;
}, $this->extensions);
}