BlueScreen: Undefined offset: 81
Upozornění: Tohle vlákno je hodně staré a informace nemusí být platné pro současné Nette.

- m4rty
 - Člen | 40
 
Ahoj, nevím čím to je, ale špatně mi funguje laděnka. Zobrazuje se dvakrát a chyba se nedá přečíst.
Vypíše se tato chyba:
Notice
Undefined offset: 81 search►
Source file ▼
File: .../libs/Nette/Diagnostics/BlueScreen.php   Line: 92
85:            $spans = 1;
86:            $out = $source[0]; // <code><span color=highlight.html>
87:            $source = explode('<br />', $source[1]);
88:            array_unshift($source, NULL);
89:
90:            $i = $start; // find last highlighted block
91:            while (--$i >= 1) {
92:                if (preg_match('#.*(</?span[^>]*>)#', $source[$i], $m)) {
93:                    if ($m[1] !== '</span>') {
94:                        $spans++; $out .= $m[1];
95:                    }
96:                    break;
97:                }
98:            }
Můj bootstrap:
Debugger::$strictMode = true;
Debugger::enable(Debugger::DEVELOPMENT);
$application->catchExceptions = false;
					Editoval m4rty (6. 11. 2011 16:42)