[
https://issues.apache.org/jira/browse/LOG4PHP-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13554361#comment-13554361
]
Ivan Habunek commented on LOG4PHP-205:
--------------------------------------
I never encountered this. Do you have code that reproduces this error? Which
PHP version?
I'd like to understand why this happens if possible. Maybe there's an
underlying problem.
> debug_backtrace() sometimes do not return 'file' and 'line' values
> ------------------------------------------------------------------
>
> Key: LOG4PHP-205
> URL: https://issues.apache.org/jira/browse/LOG4PHP-205
> Project: Log4php
> Issue Type: Bug
> Components: Code
> Affects Versions: 2.3.0
> Reporter: Dmitriy Ulyanov
> Priority: Critical
>
> debug_backtrace() sometimes do not return 'file' and 'line' values.
> This results in an error (Notice).
> Please, add "isset" in code: LoggerLoggingEvent.php, lines: 172-173
> .....
> $locationInfo['line'] = $hop['line'];
> $locationInfo['file'] = $hop['file'];
> .....
> Thank you!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira