Closed daanj1998 closed 5 years ago
I get the following error running the example script to print the template with some variables:
Fatal error: Cannot use 'Object' as class name as it is reserved in /vendor/ramytalal/label-printer/src/Command/Object.php
This is because the class Object is a reserved keyword in PHP 7.2 and above. So my suggestion is to rename this class to another one.
Done! Thanks for reporting!
I get the following error running the example script to print the template with some variables:
Fatal error: Cannot use 'Object' as class name as it is reserved in /vendor/ramytalal/label-printer/src/Command/Object.php
This is because the class Object is a reserved keyword in PHP 7.2 and above. So my suggestion is to rename this class to another one.