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

Trying to access array offset on null #769

Open
andruha opened this issue Dec 6, 2024 · 2 comments
Open

Trying to access array offset on null #769

andruha opened this issue Dec 6, 2024 · 2 comments

Comments

@andruha
Copy link

andruha commented Dec 6, 2024

I get an error in php 8.4.1
In PHP 8.3 everything is fine

yii\base\ErrorException: Trying to access array offset on null #17 /var/composer/vendor/tecnickcom/tcpdf/include/barcodes/qrcode.php(761): yii\base\ErrorHandler::handleError #16 /var/composer/vendor/tecnickcom/tcpdf/include/barcodes/qrcode.php(761): QRcode::setFrameAt #15 /var/composer/vendor/tecnickcom/tcpdf/include/barcodes/qrcode.php(724): QRcode::encodeMask #14 /var/composer/vendor/tecnickcom/tcpdf/include/barcodes/qrcode.php(687): QRcode::encodeString #13 /var/composer/vendor/tecnickcom/tcpdf/include/barcodes/qrcode.php(630): QRcode::__construct #12 /var/composer/vendor/tecnickcom/tcpdf/tcpdf_barcodes_2d.php(299): TCPDF2DBarcode::setBarcode #11 /var/composer/vendor/tecnickcom/tcpdf/tcpdf_barcodes_2d.php(69): TCPDF2DBarcode::__construct #10 /var/composer/vendor/tecnickcom/tcpdf/tcpdf.php(15666): TCPDF::write2DBarcode

@andruha
Copy link
Author

andruha commented Dec 6, 2024

Error when opcache.jit=1235
No error when opcache.jit=1255

@williamdes
Copy link
Contributor

Quite a weird one
For now the policy of @nicolaasuni is to not change qrcodes to much and update the new library

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