Nette 2.1-dev – Problem with Container debugger in debugBar

Notice: This thread is very old.
MartinitCZ
Member | 580
+
0
-

On 2.1-dev enabled Container debugger write this:

Error: Nette\DI\Diagnostics\ContainerPanel
exception 'ReflectionException' with message 'Property Nette\DI\Container::$factories does not exist' in C:\Wamp\root\vendor\nette\nette\Nette\Reflection\ClassType.php:174
Stack trace:
#0 C:\Wamp\root\vendor\nette\nette\Nette\Reflection\ClassType.php(174): ReflectionProperty->__construct('Nette\DI\Contai...', 'factories')
#1 C:\Wamp\root\vendor\nette\nette\Nette\DI\Diagnostics\ContainerPanel.php(86): Nette\Reflection\ClassType->getProperty('factories')
#2 C:\Wamp\root\vendor\nette\nette\Nette\DI\Diagnostics\ContainerPanel.php(61): Nette\DI\Diagnostics\ContainerPanel->getContainerProperty('factories')
#3 C:\Wamp\root\vendor\nette\nette\Nette\Diagnostics\Bar.php(75): Nette\DI\Diagnostics\ContainerPanel->getPanel()
#4 C:\Wamp\root\vendor\nette\nette\Nette\Diagnostics\Debugger.php(389): Nette\Diagnostics\Bar->render()
#5 [internal function]: Nette\Diagnostics\Debugger::_shutdownHandler()
#6 {main}
Jan Tvrdík
Nette guru | 2595
+
0
-

I confirm the issue. However I'm not sure how to fix it, because the $factories property which has been recently removed does not have an alternative.


I opened an issue.

MartinitCZ
Member | 580
+
0
-

@**Jan Tvrdík**: Ok. THX for issue because have not github acc and I don't how to create issue.

Last edited by martinit (2013-04-23 16:07)

Jan Tvrdík
Nette guru | 2595
+
0
-