Laravel-Blade icon indicating copy to clipboard operation
Laravel-Blade copied to clipboard

Unrecognized extension in file

Open nk2580 opened this issue 8 years ago • 2 comments

Hello,

i'm using this package in a WordPress Environment, basically i'm trying to let blade control my output however when more than one package using this class exists the engine cannot recognize the file extensions of blade templates

any ideas why the package would fire this error?

nk2580 avatar Jun 16 '16 01:06 nk2580

I have the same error with a totally different setup (not WordPress related).

The exact same call $this->blade->view()->make('file', $data)->render() works fine from PHPUnit but fails from my actual code.

Seb- avatar Sep 29 '16 13:09 Seb-

Apparently the issue might have been that I required two different autoload.php (from two different folders elsewhere). After I merged the two into a single composer.json the issue was solved.

Seb- avatar Sep 29 '16 13:09 Seb-