Try using custom error_log
Ignore vendor folder
Ignore composer.lock
Removed custom error handler
Add Log namespace using Monolog