{"action":"created","issue":{"url":"https://api.github.com/repos/phalcon/cphalcon/issues/12056","repository_url":"https://api.github.com/repos/phalcon/cphalcon","labels_url":"https://api.github.com/repos/phalcon/cphalcon/issues/12056/labels{/name}","comments_url":"https://api.github.com/repos/phalcon/cphalcon/issues/12056/comments","events_url":"https://api.github.com/repos/phalcon/cphalcon/issues/12056/events","html_url":"https://github.com/phalcon/cphalcon/issues/12056","id":168490441,"number":12056,"title":"Strange error after migration to Phalcon 3.0.0","user":{"login":"vprograms60","id":4264740,"avatar_url":"https://avatars.githubusercontent.com/u/4264740?v=3","gravatar_id":"","url":"https://api.github.com/users/vprograms60","html_url":"https://github.com/vprograms60","followers_url":"https://api.github.com/users/vprograms60/followers","following_url":"https://api.github.com/users/vprograms60/following{/other_user}","gists_url":"https://api.github.com/users/vprograms60/gists{/gist_id}","starred_url":"https://api.github.com/users/vprograms60/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vprograms60/subscriptions","organizations_url":"https://api.github.com/users/vprograms60/orgs","repos_url":"https://api.github.com/users/vprograms60/repos","events_url":"https://api.github.com/users/vprograms60/events{/privacy}","received_events_url":"https://api.github.com/users/vprograms60/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-07-30T22:38:36Z","updated_at":"2016-08-01T21:52:40Z","closed_at":null,"body":"Hello,\r\n\r\nyesterday, I migrated my project to Phalcon 3.0 (from 2.1 version). And everything worked fine, except now I got  very \"randomly\" this error:\r\n```\r\nFatal error: Uncaught Error: Access to undeclared static property: Phalcon\\Di::$_default in C:\\xampp-php7-0\\htdocs\\aplikacija\\app\\config\\services.php:25 Stack trace:\r\n#0 [internal function]: Phalcon\\Di->__construct()\r\n#1 C:\\xampp-php7-0\\htdocs\\aplikacija\\app\\config\\services.php(25): Phalcon\\Di\\FactoryDefault->__construct()\r\n#2 C:\\xampp-php7-0\\htdocs\\aplikacija\\public\\index.php(25): include('C:\\\\xampp-php7-0...')\r\n#3 {main}\r\n\r\nNext Error: Access to undeclared static property: Phalcon\\Di::$_default in C:\\xampp-php7-0\\htdocs\\aplikacija\\app\\config\\services.php:25 Stack trace:\r\n#0 [internal function]: Phalcon\\Di->__construct()\r\n#1 C:\\xampp-php7-0\\htdocs\\aplikacija\\app\\config\\services.php(25): Phalcon\\Di\\FactoryDefault->__construct()\r\n#2 C:\\xampp-php7-0\\htdocs\\aplikacija\\public\\index.php(25): include('C:\\\\xampp-php7-0...')\r\n#3 {main} thrown in C:\\xampp-php7-0\\htdocs\\aplikacija\\app\\config\\services.php on line 25\r\n```\r\nOn line 25 in my services.php file is where I create instance of DI factory class:\r\n```php\r\n$di = new FactoryDefault();   ( this is line 25 - error line!)\r\n$di->setShared('config', function () use ($config) {\r\n\treturn $config;\r\n});\r\n```\r\nI work on Windows, Xampp v3.2.2 with PHP 7.0.8 and Phalcon 3.0.\r\n\r\nCan you help me with this?\r\n\r\nThanks in advance!\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/phalcon/cphalcon/issues/comments/236719413","html_url":"https://github.com/phalcon/cphalcon/issues/12056#issuecomment-236719413","issue_url":"https://api.github.com/repos/phalcon/cphalcon/issues/12056","id":236719413,"user":{"login":"Jurigag","id":10086991,"avatar_url":"https://avatars.githubusercontent.com/u/10086991?v=3","gravatar_id":"","url":"https://api.github.com/users/Jurigag","html_url":"https://github.com/Jurigag","followers_url":"https://api.github.com/users/Jurigag/followers","following_url":"https://api.github.com/users/Jurigag/following{/other_user}","gists_url":"https://api.github.com/users/Jurigag/gists{/gist_id}","starred_url":"https://api.github.com/users/Jurigag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jurigag/subscriptions","organizations_url":"https://api.github.com/users/Jurigag/orgs","repos_url":"https://api.github.com/users/Jurigag/repos","events_url":"https://api.github.com/users/Jurigag/events{/privacy}","received_events_url":"https://api.github.com/users/Jurigag/received_events","type":"User","site_admin":false},"created_at":"2016-08-01T21:52:40Z","updated_at":"2016-08-01T21:52:40Z","body":"@stamster well, more interesting is that @Studentsov don't have this problem ? :D"}}
{"actor":{"display_login":"Jurigag"}}