For some reason, the error log file is missing on the hosting (cpanel) in the manager, can you somehow customize its display? adding the line error_reporting (E_ALL) at the beginning of the problem script; does not solve the problem.

1 answer 1

Try this

ini_set("log_errors", true); ini_set("error_log", "/полный путь до папки с доступом на запись /php-error.log");