error_log is not working as expected in functions.php file

Question

Error log on my index file get logged in the error_log.txt file but the same error log is not working in the functions.php file. I am using the latest WordPress and PHP 7.0. I am not using any plugin as well.

error_log("Hello there is an error");
0
Amit Pandey 3 months 0 Answers 14 views 0

Leave an answer