Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: Uncaught Error: Call to undefined function Zxing\imagecreatefromstring() #108

Open
ghost opened this issue May 14, 2021 · 2 comments

Comments

@ghost
Copy link

ghost commented May 14, 2021

I got the following fatal error

Fatal error: Uncaught Error: Call to undefined function Zxing\imagecreatefromstring() in C:\MAMP\htdocs\qr_reader\vendor\khanamiryan\qrcode-detector-decoder\lib\QrReader.php:35 Stack trace: #0 C:\MAMP\htdocs\qr_reader\test.php(16): Zxing\QrReader->__construct('uploads/Meshaal...') #1 {main} thrown in C:\MAMP\htdocs\qr_reader\vendor\khanamiryan\qrcode-detector-decoder\lib\QrReader.php on line 35

I use MAMP with PHP version 7.4.6

@qdm12
Copy link

qdm12 commented Jul 31, 2021

I get the same error at Bubka/2FAuth#35 did you manage to solve it in the end?

@masonpawsey
Copy link

Make sure you have php7.4-gd installed. Install with sudo apt-get install php7.4-gd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants