Nette\DI\Container::__get() is deprecated;
Notice: This thread is very old.
- leonardoap
- Member | 17
i have this error:
Nette\DI\Container::__get() is deprecated; use getService() or enable nette.container.accessors in configuration.
and i went to configurator and did the next
nette:
container:
accessors: TRUE
but the exception is still prenset, what else i have to do???
Last edited by leonardoap (2015-01-30 23:13)
- leonardoap
- Member | 17
I still have the error, the next sentence works good
dump($this->context->forms->getService('signUp'));
but when i try this
dump($this->context->forms->signUp);
show me a deprecated user, the one of this topic