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

Class 'PragmaRX\Google2FA\BaconQrCode\Renderer\Image\Png' not found #2

Open
rashidashraf opened this issue May 14, 2017 · 5 comments
Open

Comments

@rashidashraf
Copy link

Hi, i hope you are fine. i m using your code for google 2fa but face error about png class not found during enable 2fa .. find attachment of error bellow . thanks
screenshot_2

@arejae
Copy link

arejae commented Dec 4, 2017

hi rashid, you can fix it using below command:
composer require bacon/bacon-qr-code

@devinjdawson
Copy link

I also have this issue.
Laravel 5.6.2
PHP 7.2

Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR)
Class 'BaconQrCode\Renderer\Image\Png' not found

@scotth323
Copy link

v2.0 doesnt include the PNG renderer due to a refactor. use the below:

composer require bacon/bacon-qr-code 1.0.3

@bhoopathi11
Copy link

Even i used "composer require bacon/bacon-qr-code 1.0.3" it shows Call to undefined function BaconQrCode\Renderer\Image\imagecreatetruecolor()

@golamrabbi3
Copy link

"bacon/bacon-qr-code": "^1.0",
"pragmarx/google2fa-laravel": "^0.2.0",

Worked fine

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

6 participants