barcode icon indicating copy to clipboard operation
barcode copied to clipboard

Expected 6 get 4 error

Open cfuent-es opened this issue 4 years ago • 2 comments

Hello,

I am using version 6.0.2, and I am having a problem that was closed in PR # 72.

I don't get the error message

"Too few arguments to function Milon \ Barcode \ WrongCheckDigitException :: __ construct ()"

However I am getting a new error message:

Expected 6 get 4 (View:

cfuent-es avatar May 31 '20 18:05 cfuent-es

Hello,

I am using version 6.0.2, and I am having a problem that was closed in PR # 72.

I don't get the error message

"Too few arguments to function Milon \ Barcode \ WrongCheckDigitException :: __ construct ()"

However I am getting a new error message:

Expected 6 get 4 (View:

same issue with me

Raeyhans avatar Oct 12 '21 03:10 Raeyhans

I've had that happen to me when a invalid EAN was used (EAN-13), wrap your method-call in a try-catch and implement a fallback-behavior, or get the client to update their EAN to a valid one. You can use this tool to verify EAN-codes

RickardAhlstedt avatar Apr 05 '22 09:04 RickardAhlstedt