Uploaded image for project: 'Log4php'
  1. Log4php
  2. LOG4PHP-206

CLONE - debug_backtrace() sometimes do not return 'file' and 'line' values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • 2.3.0
    • None
    • Code

    Description

      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!

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              strintec-test Strintec Test
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: