P
P
pcmyonelove2021-06-13 23:11:36
Yii
pcmyonelove, 2021-06-13 23:11:36

How to properly switch Yii2 error handler to default in PHP?

Hello!
It was necessary to replace strings in a fairly large array of files on a Yii2 project. After a mass replacement, I messed up somewhere (probably the replacement affected some name of a method or class, etc.). Yii2 crashed with Headers already send error and that's it. I'm looking for a way to properly switch Yii2's error handling to PHP's standard handler to see the real error. So, I wanted to make it faster and easier, but it turned out through a red-eyed debug.
Git is configured on the project and I made a commit before the jamb, maybe you can at least somehow roll back file changes to this commit?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question