blog_1.pages.privacy was not found.

Did you mean blog_3.pages.privacy?

Stack Trace

  • 41 Illuminate\View\FileViewFinder:
    • :137
  • 40 Illuminate\View\FileViewFinder:
    • :79
  • 37 App\Http\Controllers\PageController:
    • :222
  • 30 App\Http\Middleware\IfAppIsActive:
    • :34
  • 2
  • 1

Illuminate\View\FileViewFinder::findInPaths

    * @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);
    }