mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 16:15:49 +03:00
[GH-ISSUE #1199] ErrorException: Expected array for frame 0 #498
Labels
No labels
Bug
Documentation
Feature
Needs Work
Support
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/monolog#498
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @andrey-helldar on GitHub (Oct 2, 2018).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/1199
When the code throws out the event, in the console I see an error processing it:
Test code:
Error handling of exceptions in the console occurs whenever there is no catching of exceptions.
I use Laravel Framework 5.7 with
monolog/monologpackage1.23.0version.PHP:
7.2.9OS:
ubuntu 18.04.1on Laravel Homestead.@andrey-helldar commented on GitHub (Oct 5, 2018):
Probably the problem was not in the package, but in the Laravel framework. There is no such error in release 5.7.8.
@andrey-helldar commented on GitHub (Nov 5, 2018):
The problem persists even in the most recent version of the framework - `5.7.12

If you comment out the 146 line, then the monolog returns a real error, not its own.
@andrey-helldar commented on GitHub (Nov 7, 2018):
This is both funny and not. I found a problem.
My project uses a package that is responsible for saving the exceptions to the database, then creating an application in jira and notifying in slack. This error was generated by the method of serialization of exceptions for writing. This is necessary in order to work with it as with the class of the executor during deserialization.
Why did the error occur in freshly installed applications? I first installed the entire package set ...