load Gmagick class from wrong namespace

94 Views Asked by At

i want to work with Gmagick i wrote this code $image = new \Gmagick(); $image->readimage($file); , and i have this error : Attempted to load class "Gmagick" from the global namespace. Did you forget a "use" statement?

0

There are 0 best solutions below