Hello,
I have installed grav on localhost running all of the latest LAMP software within Ubuntu 14.04. When I go to localhost:8000, I get the below attached error. It is ErrorException (E_ERROR) Undefined constant ‘IMG_JPG’
Then it gives this code:
Open: /var/www/anotherguy/vendor/gregwar/image/Gregwar/Image/Image.php
$this->adapter = $adapter;
} else {
if (is_string($adapter)) {
$adapter = strtolower($adapter);
switch ($adapter) {
case 'gd':
$this->adapter = new Adapter\GD();
break;
case 'imagemagick':
This only happens in localhost and not in the production site, so I assume there’s something missing in my configuration. This happens in both of my development grav installs.