• Resolved vermadililpjpr

    (@vermadililpjpr)


    On creating a new QR code the following Fatal error orrurs

    Fatal error: Uncaught Error: Call to undefined function ImageCreate() in D:\xampp\htdocs\newtest\wp-content\plugins\qr-redirector\phpqrcode\qrimage.php:74 Stack trace: #0 D:\xampp\htdocs\newtest\wp-content\plugins\qr-redirector\phpqrcode\qrimage.php(32): QRimage::image(Array, '5', 0) #1 D:\xampp\htdocs\newtest\wp-content\plugins\qr-redirector\phpqrcode\qrencode.php(494): QRimage::png(Array, 'D:\\xampp\\htdocs...', '5', 0, false) #2 D:\xampp\htdocs\newtest\wp-content\plugins\qr-redirector\phpqrcode\qrencode.php(286): QRencode->encodePNG('http://localhos...', 'D:\\xampp\\htdocs...', false) #3 D:\xampp\htdocs\newtest\wp-content\plugins\qr-redirector\qr-redirector.php(331): QRcode::png('http://localhos...', 'D:\\xampp\\htdocs...', 'L', '5', 0) #4 D:\xampp\htdocs\newtest\wp-includes\class-wp-hook.php(309): qr_dynamic_save_postdata(8) #5 D:\xampp\htdocs\newtest\wp-includes\class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #6 D:\xampp\htdocs\newtest\wp-includes\plugin.php(476): WP_Hook->do_action(Array) #7 D:\xampp\htdocs\newtest\wp-includes\post.php(4673): do_action('save_post', 8, Object(WP_Post), true) #8 D:\xampp\htdocs\newtest\wp-includes\post.php(4775): wp_insert_post(Array, false, true) #9 D:\xampp\htdocs\newtest\wp-admin\includes\post.php(426): wp_update_post(Array) #10 D:\xampp\htdocs\newtest\wp-admin\post.php(227): edit_post() #11 {main} thrown in D:\xampp\htdocs\newtest\wp-content\plugins\qr-redirector\phpqrcode\qrimage.php on line 74
    There has been a critical error on this website. Please check your site admin email inbox for instructions.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Nikki Blight

    (@kionae)

    I was not able to reproduce this error on my test site, but as of version 2.0, the plugin has switched to the Endroid QR-code library instead of phpqrcode. Since the error was originating in phpqrcode, updating to 2.0 should eliminate the issue.

    Hi, after doing the upgrade, I’m not able to create any QR code.
    I get the message bellow.

    Fatal error: Uncaught Error: Call to undefined method Endroid\QrCode\QrCode::create() in /home/clients/4cd875a141a3d28d57bd39c40096da24/sites/users.limitlesscard.ch/wp-content/plugins/qr-redirector/qr-redirector.php:444 Stack trace: #0 /home/clients/4cd875a141a3d28d57bd39c40096da24/sites/users.limitlesscard.ch/wp-includes/class-wp-hook.php(309): qr_dynamic_save_postdata(36759) #1 /home/clients/4cd875a141a3d28d57bd39c40096da24/sites/users.limitlesscard.ch/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #2 /home/clients/4cd875a141a3d28d57bd39c40096da24/sites/users.limitlesscard.ch/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #3 /home/clients/4cd875a141a3d28d57bd39c40096da24/sites/users.limitlesscard.ch/wp-includes/post.php(4673): do_action(‘save_post’, 36759, Object(WP_Post), true) #4 /home/clients/4cd875a141a3d28d57bd39c40096da24/sites/users.limitlesscard.ch/wp-includes/post.php(4775): wp_insert_post(Array, false, true) #5 /home/clients/4cd875a141a3d28d57bd39c40096da24/sites/users.limitles in /home/clients/4cd875a141a3d28d57bd39c40096da24/sites/users.limitlesscard.ch/wp-content/plugins/qr-redirector/qr-redirector.php on line 444

    I’m getting the same fatal error with version 2.0.

    Plugin Author Nikki Blight

    (@kionae)

    May I ask what version of PHP you are using?

    7.4.32

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Save Post: Fatal Error’ is closed to new replies.