php7 f5 refresh error Access to undeclared static property: Phalcon\Di::$_default

php7 f5 refresh error Access to undeclared static property: Phalcon\Di::$_default

You use

$this->servive;

in clousure $di->set();????

edited Sep '16

This is known problem with windows. Use:

  • vagrant/docker + linux
  • nginx + php-cgi + windows
  • apache + php-cgi + windows

XAMPP + apache + it's apache handler won't work for some reason.