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

Is PHP 8.2 Supported? I get this error after upgrading - Uncaught Error: Undefined constant "ReceiptPrintHq\EscposTools\Parser\Command\STDERR #82

Open
smartinsight-at opened this issue May 3, 2024 · 0 comments

Comments

@smartinsight-at
Copy link

I have just upgraded my PHP to 8.2 and moved to a new server.

Would anyone be able to confirm that this should working on 8.2 or suggest a way to resolve this error? I just dont want to waste my time if it is not supposed to work.

Many Thanks.

Adam

[03-May-2024 20:31:58 UTC] PHP Fatal error: Uncaught Error: Undefined constant "ReceiptPrintHq\EscposTools\Parser\Command\STDERR" in /var/www/smartinsight_test/deva/SMART/httpdocs/vendor/escpos-tools/src/Parser/Command/Printout.php:189
Stack trace:
#0 /var/www/smartinsight_test/deva/SMART/httpdocs/vendor/escpos-tools/src/Parser/Command/Printout.php(154): ReceiptPrintHq\EscposTools\Parser\Command\Printout->logUnknownCommand()
#1 /var/www/smartinsight_test/deva/SMART/httpdocs/vendor/escpos-tools/src/Parser/Command/Printout.php(123): ReceiptPrintHq\EscposTools\Parser\Command\Printout->navigateCommand()
#2 /var/www/smartinsight_test/deva/SMART/httpdocs/vendor/escpos-tools/src/Parser/Parser.php(43): ReceiptPrintHq\EscposTools\Parser\Command\Printout->addChar()
#3 /var/www/smartinsight_test/deva/SMART/httpdocs/app/e-shop-pledge-action.php(55): ReceiptPrintHq\EscposTools\Parser\Parser->addString()
#4 /var/www/smartinsight_test/deva/SMART/httpdocs/app/e-shop-pledge-action.php(309): ReceiptToHtml()
#5 {main}
thrown in /var/www/smartinsight_test/deva/SMART/httpdocs/vendor/escpos-tools/src/Parser/Command/Printout.php on line 189

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

1 participant