Fatal error during QR code generation

Greetings, dear developers. After installing the Dynamic QR Code generator plugin and trying to generate QR, I got an error:

Fatal error: Uncaught Error: Call to undefined function SOSIDEE_DYNAMIC_QRCODE\SRC\LIB\ImageCreate() in /var/www/html/public_html/wp-content/plugins/dynamic-qr-code/src/lib/phpqrcode.php:1006 Stack trace: #0 /var/www/html/public_html/wp-content/plugins/dynamic-qr-code/src/lib/phpqrcode.php(964): SOSIDEE_DYNAMIC_QRCODE\SRC\LIB\QRimage::image() #1 /var/www/html/public_html/wp-content/plugins/dynamic-qr-code/src/lib/phpqrcode.php(3378): SOSIDEE_DYNAMIC_QRCODE\SRC\LIB\QRimage::png() #2 /var/www/html/public_html/wp-content/plugins/dynamic-qr-code/src/lib/phpqrcode.php(3151): SOSIDEE_DYNAMIC_QRCODE\SRC\LIB\QRencode->encodePNG() #3 /var/www/html/public_html/wp-content/plugins/dynamic-qr-code/src/qrcode.php(155): SOSIDEE_DYNAMIC_QRCODE\SRC\LIB\QRcode::png() #4 /var/www/html/public_html/wp-content/plugins/dynamic-qr-code/src/form/qrcodeedit.php(288): SOSIDEE_DYNAMIC_QRCODE\SRC\QrCode::getUrl() #5 /var/www/html/public_html/wp-content/plugins/dynamic-qr-code/admin/qrcode.php(217): SOSIDEE_DYNAMIC_QRCODE\SRC\FORM\QrCodeEdit->htmlImgQ in /var/www/html/public_html/wp-content/plugins/dynamic-qr-code/src/lib/phpqrcode.php on line 1006

And this is on place of QR code:
Fatal error: Uncaught Error: Object of class WP_Error could not be converted to string in /var/www/html/public_html/wp-content/plugins/sg-security/templates/error.php:111 Stack trace: #0 /var/www/html/public_html/wp-content/plugins/sg-security/core/Helper/Helper.php(95): include() #1 /var/www/html/public_html/wp-includes/functions.php(3715): SG_Security\Helper\Helper->custom_wp_die_callback() #2 /var/www/html/public_html/wp-includes/class-wp-fatal-error-handler.php(234): wp_die() #3 /var/www/html/public_html/wp-includes/class-wp-fatal-error-handler.php(153): WP_Fatal_Error_Handler->display_default_error_template() #4 /var/www/html/public_html/wp-includes/class-wp-fatal-error-handler.php(57): WP_Fatal_Error_Handler->display_error_template() #5 [internal function]: WP_Fatal_Error_Handler->handle() #6 {main} thrown in /var/www/html/public_html/wp-content/plugins/sg-security/templates/error.php on line 111

Can you help me to figure out this problem? Thank you!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer