• Resolved johnnyfox

    (@johnnyfox)


    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author sosidee

    (@sosidee)

    Hello,
    the problem happens in the third part library used by the plugin to generate the qr code image.
    It seems that the PHP function ImageCreate() is undefined: this could mean that your installation of PHP doesn’t have the GD library installed (or it’s not enabled).
    Can you check that? (e.g. contacting your web server administrator)

    Thread Starter johnnyfox

    (@johnnyfox)

    It works! Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error during QR code generation’ is closed to new replies.