snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Error when uploading an image to new asset

Open kylevitale opened this issue 12 years ago • 2 comments

When I create a new asset and attempt to upload an image, I receive the following exception:

ErrorException Class 'Intervention\Image\ImageManagerStatic' not found

Copied code from embedded window:

 * @param  string  $alias
 * @return void
 */
public function load($alias)
{
    if (isset($this->aliases[$alias]))
    {
        return class_alias($this->aliases[$alias], $alias);
    }
}

kylevitale avatar Nov 18 '14 13:11 kylevitale

Try running the command php composer update and see if it loads after that has completed

madd15 avatar Nov 19 '14 00:11 madd15

That worked!

kylevitale avatar Nov 19 '14 14:11 kylevitale