Closed jmsche closed 2 years ago
Hey, this has already been fixed in #97, it's not tagged yet though.
Hi, sorry, didn't see it :) Could you please create a tag so it's available? Thanks!
I will as soon:tm: as i'm done with the v5 branch as there are a bunch of things i want to backport to 4.x. In the meantime I'd advise to manually set QROptions::$dataModeOverride = ''
or suppress E_DEPRECATED
.
Hi,
This fixes a minor deprecation in 4.3 branch for PHP 8.1.
Without this here is the risen deprecation:
Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated
How to fix this issue manually, currently using v4.3. Thank you
The answer is in the post before yours.
The answer is in the post before yours.
added already and it is now fixed. Thank you!
@menjilx Your fix won't do anything because you always set the value of $dataModeOverride
to ''
now, like, it can't even be changed if you wanted to because $interface
will now always yield null
. Just set it to an empty string wherever you invoke the QROptions
instance.
@menjilx Your fix won't do anything because you always set the value of
$dataModeOverride
to''
now, like, it can't even be changed if you wanted to because$interface
will now always yieldnull
. Just set it to an empty string wherever you invoke theQROptions
instance.
thanks for checking my response, also updated it and placed it on the "options" already.
I have tagged the fix now as a release as i currently don't have time for the other things i've planned. It's available as 4.3.3
.
Hi,
This fixes a minor deprecation in 4.3 branch for PHP 8.1.
Without this here is the risen deprecation: