PHP_errors.log – Reveals info about untrapped errors
-
Hello. LOVE this plugin and leverage it often.
One of my custom scripts had an apparent error that was untrapped by this plugin. Whilst looking at the webserver today, via FTP filezilla, I noticed a log under wwwroot named “PHP_errors.log” which outlined the error.
While this helped, I was dismayed to discover this log which also reveals the hosting path on the physical web server:
[29-Mar-2016 17:04:42 UTC] PHP Warning: Missing argument 2 for remove_filter(), called in F:\WebSpace\customername\customerdomain.com\wwwroot\wp-content\plugins\code-snippets\php\snippet-ops.php(383) : eval()'d code on line 8 and defined in F:\WebSpace\customername\customerdomain.com\wwwroot\wp-includes\plugin.php on line 321
My particular issue, while irrelevant to this discussion, was the failure to properly configure the REMOVE_FILTER function (missing a req’d argument).
My questions are:
(1) Why wasn’t that trapped by your plugin?
(2) What dictates this log (its directory, name, contents)?Thank you!
- The topic ‘PHP_errors.log – Reveals info about untrapped errors’ is closed to new replies.