FastCGI sent in stderr: "PHP message: PHP Fatal error

2018/05/21 12:04:37 [error] 5642#5642: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function I$

Not able to figure out where is the error ,please guide me to fix


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.


It seems like that you are using nano to view the logs which is cutting out the line at the end of your screen.

What you need to do is use the cat command for example to see the full line. So what you could do is the following:

cat /path/to/error_log | grep 'PHP message: PHP Fatal error'

Note: change the /path/to/error_log part with the actual path to your error log.

This would output all of the lines in your error log that contain the PHP message: PHP Fatal error message. Then you would be able to see in which file exactly is this undefined function called at.

Hope that this helps. Regards, Bobby