First of all, I am sorry if my question may be too vague. So, I will try to clarify my question as much as possible.
I am currently developing a Laravel application, and
Did you enable the gd extension?
try this is your termital
php -i | grep gd
my output is:
frank@frank-ThinkPad-T430:~$ php -i | grep gd /etc/php/7.0/cli/conf.d/20-gd.ini, gd gd.jpeg_ignore_warning => 0 => 0