Fatal error: Uncaught Error: Call to undefined function OcrCaptcha\Model\imagecreatetruecolor() in /home/pni/wms/cart/module/OcrCaptcha/src/OcrCaptcha/Model/OcrCaptcha.php:38
Stack trace:
#0 /home/pni/wms/cart/module/OcrCaptcha/src/OcrCaptcha/Controller/OcrCaptchaController.php(29): OcrCaptcha\Model\OcrCaptcha->getImageString()
#1 /home/pni/wms/vendor/ZF2/library/Zend/Mvc/Controller/AbstractRestfulController.php(333): OcrCaptcha\Controller\OcrCaptchaController->indexAction()
#2 phar:///home/pni/wms/vendor/Lib3rdParty/phar/Lib3rdParty.phar/Zend/Mvc/Controller/AbstractRestfulController.php(552): Zend\Mvc\Controller\AbstractRestfulController->onDispatch()
#3 [internal function]: Lib3rdParty\Zend\Mvc\Controller\AbstractRestfulController->onDispatch()
#4 /home/pni/wms/vendor/ZF2/library/Zend/EventManager/EventManager.php(444): call_user_func()
#5 /home/pni/wms/vendor/ZF2/library/Zend/EventManager/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners()
#6 /home/pni/wms/vendor/ZF2/library/Zend/Mvc/Controller/AbstractController.php(116): Zend\EventManager\EventManager->trigger()
#7 /home/pni/wms/vendor/ZF2/library/Zend/Mvc/Controller/AbstractRestfulController.php(300): Zend\Mvc\Controller\AbstractController->dispatch()
#8 /home/pni/wms/vendor/ZF2/library/Zend/Mvc/DispatchListener.php(93): Zend\Mvc\Controller\AbstractRestfulController->dispatch()
#9 [internal function]: Zend\Mvc\DispatchListener->onDispatch()
#10 /home/pni/wms/vendor/ZF2/library/Zend/EventManager/EventManager.php(444): call_user_func()
#11 /home/pni/wms/vendor/ZF2/library/Zend/EventManager/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners()
#12 /home/pni/wms/vendor/ZF2/library/Zend/Mvc/Application.php(314): Zend\EventManager\EventManager->trigger()
#13 /home/pni/public_html/index.php(48): Zend\Mvc\Application->run()
#14 {main}
thrown in /home/pni/wms/cart/module/OcrCaptcha/src/OcrCaptcha/Model/OcrCaptcha.php on line 38