Fatal error: Uncaught TypeError: imagewebp(): Argument #1 ($image) must be of type GdImage, bool given in /var/www/html/classes/cart/liteCart/classes/display/class.CustomProductPhotoDisplay.php:155
Stack trace:
#0 /var/www/html/classes/cart/liteCart/classes/display/class.CustomProductPhotoDisplay.php(155): imagewebp()
#1 /var/www/html/classes/cart/liteCart/classes/display/class.CustomProductPhotoDisplay.php(103): CustomProductPhotoDisplay->renderPrimaryImage()
#2 /var/www/html/claysite/cart/classes/display/class.ProductDetailPage.php(497): CustomProductPhotoDisplay->render()
#3 /var/www/html/classes/cart/liteCart/classes/display/class.CustomProductDetailPage.php(164): ProductDetailPage->renderImages()
#4 /var/www/html/classes/cart/liteCart/classes/display/class.CustomProductDetailPage.php(110): CustomProductDetailPage->renderBody()
#5 /var/www/html/cart/product.php(9): CustomProductDetailPage->render()
#6 {main}
thrown in /var/www/html/classes/cart/liteCart/classes/display/class.CustomProductPhotoDisplay.php on line 155