Skip to content
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

Not compatible with PHP 7.2.2 #334

Closed
hwrng opened this issue Mar 26, 2018 · 3 comments
Closed

Not compatible with PHP 7.2.2 #334

hwrng opened this issue Mar 26, 2018 · 3 comments

Comments

@hwrng
Copy link

hwrng commented Mar 26, 2018

After PHP update (nginx 1.13.9 with php-fpm):

PHP 7.2.2-1 (cli) (built: Feb  1 2018 15:19:04) ( NTS )

Unable to start application any more:

[error] 18087#18087: *19 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Cannot use 'Object' as class name as it is reserved in /www/xxx.xxx/lib/Cake/Core/Object.php on line 30

PHP message: PHP Fatal error:  Uncaught Error: Class 'Controller' not found in /www/xxx.xxx/lib/Cake/Error/ExceptionRenderer.php:174
Stack trace:

#0 /www/xxx.xxx/lib/Cake/Error/ExceptionRenderer.php(92): ExceptionRenderer->_getController(Object(InternalErrorException))

#1 /www/xxx.xxx/lib/Cake/Error/ErrorHandler.php(126): ExceptionRenderer->__construct(Object(InternalErrorException))

#2 /www/xxx.xxx/lib/Cake/Error/ErrorHandler.php(284): ErrorHandler::handleException(Object(InternalErrorException))

#3 /www/xxx.xxx/lib/Cake/Error/ErrorHandler.php(213): ErrorHandler::handleFatalError(64, 'Cannot use 'Obj...', '/www/xxx.xxx...', 30)

#4 /www/xxx.xxx/lib/Cake/Core/App.php(970): ErrorHandler::handleError(64, 'Cannot use 'Obj...', '/www/xxx.xxx...', 30, Array)

#5 /www/xxx.xxx/lib/Cake/Core/App.php(943): App::_checkFatalError()

#6 [internal function]: App::shutdown()
@MightyCreak
Copy link
Contributor

MightyCreak commented Mar 26, 2018

Could you test with https://github.com/gs11/sonerezh?
It's a bit more up to date than this repo, as you can see here: https://github.com/Sonerezh/sonerezh/network

@hwrng
Copy link
Author

hwrng commented Mar 27, 2018

Yes, gs11 fork is working fine with PHP 7.2.2

@MightyCreak
Copy link
Contributor

Will be fixed with #339

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants