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

Fatal: SplFileInfo->_bad_state_ex() #3

Open
MarcelHekkert opened this issue Jan 22, 2018 · 3 comments
Open

Fatal: SplFileInfo->_bad_state_ex() #3

MarcelHekkert opened this issue Jan 22, 2018 · 3 comments
Assignees
Labels

Comments

@MarcelHekkert
Copy link

MarcelHekkert commented Jan 22, 2018

Hey Matt,

I get this Fatal error when a collection is empty using PHP Version 7.0.6.

Fatal error: Uncaught LogicException: The parent constructor was not called: the object is in an invalid state in \src\Flat\Storage\FilesystemIterator.php:45
Stack trace: #0 src\Flat\Storage\FilesystemIterator.php(45): SplFileInfo->_bad_state_ex()
Mattbit\Flat\Collection->find() #5 {main} thrown in \src\Flat\Storage\FilesystemIterator.php on line 45
@mattbit mattbit self-assigned this Jan 23, 2018
@mattbit mattbit added the bug label Jan 23, 2018
@mattbit
Copy link
Owner

mattbit commented Jan 23, 2018

Whoops, my fault! I will look into it soon.

@MarcelHekkert
Copy link
Author

Thanks! :)

@mattbit
Copy link
Owner

mattbit commented Feb 11, 2018

Hi @MarcelHekkert, could you please send me the exact code that produces the error?

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

No branches or pull requests

2 participants