No more error messages shown

Before migrating all the time I had an error in my php script when I was calling my site it showed me a php error and also which line in my code caused that error… Also when I couldn’t connect to my database it showed an error message telling me what the problem was about… But now it seems like it just skips the line where the error is in and nothing get displayed anymore…