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

Undefined constant "NunoMaduro\Collision\STDOUT" #305

Open
jackkitley opened this issue Apr 24, 2024 · 0 comments
Open

Undefined constant "NunoMaduro\Collision\STDOUT" #305

jackkitley opened this issue Apr 24, 2024 · 0 comments

Comments

@jackkitley
Copy link

Hello, ive recently started getting this error on production. ive got it in the past but not sure what it actually means and why it would be undefined.

This one seems to have fired because max execution time somewhere in code.

Thanks

[2024-04-24 12:01:58] production.ERROR: Undefined constant "NunoMaduro\Collision\STDOUT" {"exception":"[object] (Error(code: 0): Undefined constant "NunoMaduro\Collision\STDOUT" at /var/www/html/vendor/nunomaduro/collision/src/ConsoleColor.php:182)
[stacktrace]
#0 /var/www/html/vendor/nunomaduro/collision/src/ConsoleColor.php(86): NunoMaduro\Collision\ConsoleColor->isSupported()
#1 /var/www/html/vendor/nunomaduro/collision/src/Highlighter.php(241): NunoMaduro\Collision\ConsoleColor->apply('token_comment', ' * Closes t...')
#2 /var/www/html/vendor/nunomaduro/collision/src/Highlighter.php(120): NunoMaduro\Collision\Highlighter->colorLines(Array)
#3 /var/www/html/vendor/nunomaduro/collision/src/Highlighter.php(105): NunoMaduro\Collision\Highlighter->getCodeSnippet('<?php\n\ndeclare(...', 74, 4, 4)
#4 /var/www/html/vendor/nunomaduro/collision/src/Writer.php(265): NunoMaduro\Collision\Highlighter->highlight('<?php\n\ndeclare(...', 74)
#5 /var/www/html/vendor/nunomaduro/collision/src/Writer.php(108): NunoMaduro\Collision\Writer->renderEditor(Object(Whoops\Exception\Frame))
#6 /var/www/html/vendor/nunomaduro/collision/src/Handler.php(35): NunoMaduro\Collision\Writer->write(Object(Whoops\Exception\Inspector))
#7 /var/www/html/vendor/filp/whoops/src/Whoops/Run.php(398): NunoMaduro\Collision\Handler->handle(Object(Whoops\Exception\ErrorException))
#8 /var/www/html/vendor/filp/whoops/src/Whoops/Run.php(482): Whoops\Run->handleException(Object(Whoops\Exception\ErrorException))
#9 /var/www/html/vendor/filp/whoops/src/Whoops/Run.php(510): Whoops\Run->handleError(1, 'Maximum executi...', '/var/www/html/v...', 74)
#10 [internal function]: Whoops\Run->handleShutdown()
#11 {main}
"}

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