vdomah / octoexcel

OctoberCMS wrapper for Maatwebsite/Laravel-Excel
MIT License
14 stars 10 forks source link

FatalErrorException: Class Illuminate\View\Factory contains 1 abstract method #4

Closed vojtasvoboda closed 5 years ago

vojtasvoboda commented 7 years ago

Hi, could you please help me? I have created new plugin and run:

composer require maatwebsite/excel:~2.1.0

but I'm getting:

[Symfony\Component\Debug\Exception\FatalErrorException]
  Class Illuminate\View\Factory contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Illuminate\Contracts\View\Factory::replaceNamespace)

So I tried:

composer dump autoload in root and also in plugin directory, but didn't helps.

There is some magic, that your vendor directory contains Laravel 5.2 libraries and mine vendor contains Laravel 5.4. My PHP version is 5.6.

Do you know, where could be my fail? Thanks a lot

vdomah commented 5 years ago

fixed with new version 1.0.3