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

C128A Trying to access array offset on value of type bool #184

Open
xumoran opened this issue Oct 19, 2023 · 1 comment
Open

C128A Trying to access array offset on value of type bool #184

xumoran opened this issue Oct 19, 2023 · 1 comment

Comments

@xumoran
Copy link

xumoran commented Oct 19, 2023

when i use C128A algorithm

(new DNS1D())->getBarcodePNG($orderItem->stock_code, 'C128A')

this error occurs
"Trying to access array offset on value of type bool"
DNS1D.php line:180

laravel version:9.2
php version:8.1.1
milon/barcode: 10.0.1

@alekmlynek
Copy link

Getting a similar issue:

$this->generator->getBarcodeHTML($this->accession->access_number, 'C128');

Error:
ErrorException PHP 8.2.11 11.4.0 Trying to access array offset on value of type null

Using:
milon/barcode: ^11

C128A, C128B work, C128C does not

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