Question: Barcode Not Generate

Barcode Not Generate

My Product Config ![alt](https://i.imgur.com/iIppJm3.png) And Barcode Generated: ![alt](https://i.imgur.com/SD6idPP.png)

SR

Sergio Carballo Rojo

Asked

My Product Config

alt

And Barcode Generated:

alt

  • SR

    Sergio Carballo Rojo

    Answered

    ERROR - 2024-01-11 18:52:18 --> Severity: Compile Error --> Array and string offset access syntax with curly braces is no longer supported app/third_party/Zend/Barcode/Object/ObjectAbstract.php 1201

  • MS

    Mian Saleem

    Answered

    Hello,

    May I know your php version? The v2 can only be used php7.4

    I suggest you install the latest v3 beta.

    Thank you

  • SR

    Sergio Carballo Rojo

    Answered

    I use 8.1, I already fixed it by modifying a few lines of code

  • MS

    Mian Saleem

    Answered

    I am not sure but max compatible version is php8.0 for the framework. You should be using the v3 as v2 won’t get updates. Thank you

  • SR

    Sergio Carballo Rojo

    Answered

    If I have V2 and update to V3, will everything I have uploaded be maintained?

  • MS

    Mian Saleem

    Answered

    Hello,

    There is no option to update v2 to v3. The beta is quite stable and I will check if I could write migration script. The database schema is different for both versions so not sure at the moment.

    Thank you

  • SR

    Sergio Carballo Rojo

    Answered

    I already answered myself, no the structure is not maintained, for now with the change in the code I will use V2 in PHP 8.2 and I will see if it works well for me extending to V3

  • MS

    Mian Saleem

    Answered

    Hello,

    Oh, I thought it was a new installation that’s why I recommended the latest version.

    For the v3, we will update the change log once migration script is available.

    Thank you

  • J

    Jack

    Answered

    Sergio Carballo Rojo Can you share how to modify the code ?

  • SR

    Sergio Carballo Rojo

    Answered

    Jack Do you have the old version or the new one?

    I am talking about the old version with PHP 8, which I have modified part of the code to make it compatible.

  • Login to Reply