Internal Server Error

imagesx(): Argument #1 ($image) must be of type GdImage, bool given [/home/mm.technologijos.lt/vendor/bcosca/fatfree-core/image.php:467]