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

[BUG] strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in vendor/chillerlan/php-qrcode/src/QRCode.php on line 218 #224

Closed
GregJohnStewart opened this issue Oct 26, 2023 · 1 comment

Comments

@GregJohnStewart
Copy link

GregJohnStewart commented Oct 26, 2023

Describe the bug or unexpected behaviour

As title discribes, getting the following error on my php 8.1 setup:

Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in vendor/chillerlan/php-qrcode/src/QRCode.php on line 218

Steps to reproduce the behavior

Run on php 8.1, render

Seems to only occur (breakingly) when have error reporting on:

ini_set('display_errors', '1');
ini_set('display_startup_errors', '1');
error_reporting(E_ALL);

Environment (please complete the following information):

  • PHP version/OS: 8.1, Linux
  • Library version: 4.3.2
@codemasher
Copy link
Member

this bug is fixed in v4.3.3 (#97, #110) - please update to the latest 4.x version.

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