0

I am using Laravel 5.3 with intervention image and image cache. Today I noticed, that there's an error when I want to create a cached image (but it already worked before).

Whoops, looks like something went wrong.

1/1 MissingDependencyException in ImageManager.php line 91: Please install package intervention/imagecache before running this function.

intervention/imagecache is installed.

I tried to reinstall it (not only intervention/imagecache, but also intervention/image), also I cleared the laravel config cache and tried "composer dump-autoload".

Unfortionately nothing helped.

Community
  • 1
  • 1
Josef
  • 229
  • 1
  • 2
  • 9

1 Answers1

0

I found the problem inside the composer.json file There was the following code:

"autoload-dev": { "classmap": [ "tests/TestCase.php" ] },

I don't know how it got there, but after I removed it and run "composer dump-autoload" it worked again.

Josef
  • 229
  • 1
  • 2
  • 9