error_log is not working as expected in functions.php file
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");