[
https://issues.apache.org/jira/browse/LOG4PHP-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Habunek resolved LOG4PHP-205.
----------------------------------
Resolution: Fixed
Fix Version/s: develop
> 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
> Assignee: Ivan Habunek
> Priority: Critical
> Fix For: develop
>
>
> 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 was sent by Atlassian JIRA
(v6.1.4#6159)