-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal error: Uncaught Error: Access to undeclared static property: Phalcon\Di::$_default #12065
Comments
Duplicate of #12056 |
Having the same error, suddenly, after upgrading to PHP 7.2 and Phalcon 3.3.0 on Mac OS X (High Sierra). |
@queejie Could you please open a new issue with steps/script to reproduce |
@sergeyklay Unfortunately, I cannot get it to reproduce with a known set of steps. If I reboot my computer, it fixes it for a long time (hours at least). Something eventually triggers it, after using the app, and then it happens regularly until a reboot. Oddly enough, it does not happen on every call, but when a series of AJAX calls are made to the server that use Phalcon retrieval queries. I am unable to localize it enough to be of any use, I'm afraid. |
Well, let's use zephir-lang/zephir#1530 to track this issue. I'll plan to sort out with this in next patch releases. As workaround try to replace Apache by Nginx if it is possible. |
Error:
The error appeared after migrating from phalcon 2.1.0 RC 1 on php 5.6 to phalcon 3.0.0 on Php-7
The system: Windows 10
Server: Open Server
PhpVersion: Php-7-x64
PhalconVersion: 3.0.0
Reproduce:
Open the page, that making curl request to remote server, go to other page => got fatal error. Update page => no fatal error.
The error appeared in public/index.php
also see
https://forum.phalconphp.com/discussion/12453/fatal-error-in-multi-modules-app-with-php7phalcon30
The text was updated successfully, but these errors were encountered: