Big Error !

so i'm testing somethings here with ajax and oauth.... so when i request the oauth or anythig with ajax for that matter sometimes if throws me this error message:

error messgen when \Phalcon\Debug->listen()

Fatal error: Uncaught Error: Access to undeclared static property: Phalcon\Debug::$_isActive in [no active file]:0 Stack trace: #0 [internal function]: Phalcon\Debug->onUncaughtException(Object(Error)) #1 {main} Next Error: Access to undeclared static property: Phalcon\Debug::$_isActive in [no active file]:0 Stack trace: #0 [internal function]: Phalcon\Debug->onUncaughtException(Object(Error)) #1 {main} thrown in [no active file] on line 0

error when debug off

Fatal error: Uncaught Error: Access to undeclared static property: Phalcon\Di::$_default in C:\hosting\htdocs\kestt\prod\config\services.php:16 Stack trace: #0 [internal function]: Phalcon\Di->__construct() #1 C:\hosting\htdocs\kestt\prod\config\services.php(16): Phalcon\Di\FactoryDefault->__construct() #2 C:\hosting\htdocs\kestt\prod\public\index.php(17): require('C:\\hosting\\htdo...') #3 {main} Next Error: Access to undeclared static property: Phalcon\Di::$_default in C:\hosting\htdocs\kestt\prod\config\services.php:16 Stack trace: #0 [internal function]: Phalcon\Di->__construct() #1 C:\hosting\htdocs\kestt\prod\config\services.php(16): Phalcon\Di\FactoryDefault->__construct() #2 C:\hosting\htdocs\kestt\prod\public\index.php(17): require('C:\\hosting\\htdo...') #3 {main} thrown in C:\hosting\htdocs\kestt\prod\config\services.php on line 16

************ i mainly see this error message when i try a async request ************

any help on this please? Phalcon Version 3.1.1 , PHP: 7.0

edited Mar '17

On windows there are some weird problems when using phalcon with php apache module, switch to cgi+nginx/apache or vagrant/docker.

It's not a big error since there any many other ways to use phalcon and you never use windows for production anyway.

There is already issue like this.

I had the same error on win+apache.