scovetta / yasca

Yet Another Source Code Analyzer
183 stars 61 forks source link

Fatal error: Uncaught exception 'ErrorException' with message 'Undefined variable: filepath' #3

Open Icydeath opened 10 years ago

Icydeath commented 10 years ago

Below is the error/stack trace. I've ignored the plugin for now, but I would like to check for 'RedirectWithoutExit'. Thanks in advance.

Fatal error: Uncaught exception 'ErrorException' with message 'Undefined variable: filepath' in C:\alx\Yasca-v3.0.4\Yasca\Plugins\BuiltIn\Bug\RedirectWithoutExit\ASP.php:24 Stack trace:

0 C:\alx\Yasca-v3.0.4\Yasca\Plugins\BuiltIn\Bug\RedirectWithoutExit\ASP.php(24): {closure}(8, 'Undefined varia...', 'C:\alx\Yasca-v3...', 24, Array)

1 C:\alx\Yasca-v3.0.4\Yasca\Core\ProjectionIterator.php(49): Yasca\Plugins\BuiltIn\Bug\RedirectWithoutExit\ASP->Yasca\Plugins\BuiltIn\Bug\RedirectWithoutExit{closure}('??Response.Redi...', 338, Object(CallbackFilterIterator))

2 C:\alx\Yasca-v3.0.4\Yasca\Core\ManyProjectionIterator.php(36): Yasca\Core\ProjectionIterator->current()

3 C:\alx\Yasca-v3.0.4\Yasca\Core\ManyProjectionIterator.php(59): Yasca\Core\ManyProjectionIterator->project()

4 C:\alx\Yasca-v3.0.4\Yasca\Core\ManyProjectionIterator.php(62): Yasca\Core\ManyProjectionIterator->valid()

5 C:\alx\Yasca-v3.0.4\Yasca\Core\Iterators.php(491): Yasca\Core\ManyProjectionIterator->valid()

6 C:\alx\Yasca-v3.0.4\Yasca\Core\IteratorBuilder in C:\alx\Yasca-v3.0.4\Yasca\Plugins\BuiltIn\Bug\RedirectWithoutExit\ASP.php on line 24