Fatal error: Uncaught TypeError: imagecopyresampled(): Argument #2 ($src_image) must be of type GdImage, bool given in /var/www/vhosts/nationalpc.in/httpdocs/system/library/image.php:196
Stack trace:
#0 /var/www/vhosts/nationalpc.in/httpdocs/system/library/image.php(196): imagecopyresampled()
#1 /var/www/vhosts/nationalpc.in/httpdocs/catalog/model/tool/image.php(38): Image->resize()
#2 /var/www/vhosts/nationalpc.in/storage/modification/system/engine/loader.php(248): ModelToolImage->resize()
#3 /var/www/vhosts/nationalpc.in/httpdocs/system/engine/proxy.php(47): Loader->{closure}()
#4 /var/www/vhosts/nationalpc.in/storage/modification/catalog/controller/product/search.php(200): Proxy->__call()
#5 /var/www/vhosts/nationalpc.in/storage/modification/system/engine/action.php(79): ControllerProductSearch->index()
#6 /var/www/vhosts/nationalpc.in/httpdocs/catalog/controller/startup/router.php(25): Action->execute()
#7 /var/www/vhosts/nationalpc.in/storage/modification/system/engine/action.php(79): ControllerStartupRouter->index()
#8 /var/www/vhosts/nationalpc.in/storage/modification/system/engine/router.php(77): Action->execute()
#9 /var/www/vhosts/nationalpc.in/storage/modification/system/engine/router.php(66): Router->execute()
#10 /var/www/vhosts/nationalpc.in/httpdocs/system/framework.php(169): Router->dispatch()
#11 /var/www/vhosts/nationalpc.in/httpdocs/system/startup.php(104): require_once('...')
#12 /var/www/vhosts/nationalpc.in/httpdocs/index.php(19): start()
#13 {main}
thrown in /var/www/vhosts/nationalpc.in/httpdocs/system/library/image.php on line 196