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

PHP Fatal error: Cannot use Nette\Object as Object because 'Object' is a special class name #23

Open
ghost opened this issue Jun 7, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Jun 7, 2018

PHP 7.2.3 (cli) (built: Mar 2 2018 15:48:10) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.3, Copyright (c) 1999-2018, by Zend Technologies
with Xdebug v2.6.0alpha1, Copyright (c) 2002-2017, by Derick Rethans

the pic is the discription for what is new in PHP 7.2.3
image

this library cannot normal work an php >7 version

@jkuchar
Copy link
Owner

jkuchar commented Jun 11, 2018

Yep, this is because it uses Nette\Object, which is not supported on PHP7 because of its name. Could you please provide pull request which uses SmartObject instead? https://doc.nette.org/cs/2.4/smartobject

@jkuchar
Copy link
Owner

jkuchar commented Jun 11, 2018

There should be no more incompatibilities, just this formal one.

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

1 participant