Skip to content
This repository has been archived by the owner on Nov 11, 2020. It is now read-only.

Fatal error on php: 5.3.6 #230

Closed
stanimir-kukudov opened this issue Aug 20, 2015 · 2 comments
Closed

Fatal error on php: 5.3.6 #230

stanimir-kukudov opened this issue Aug 20, 2015 · 2 comments
Labels
Milestone

Comments

@stanimir-kukudov
Copy link

Hello,

The error is:
Fatal error: Can't inherit abstract function Countable::count() (previously declared abstract in Doctrine\MongoDB\CursorInterface) in doctrine/mongodb/lib/Doctrine/MongoDB/CursorInterface.php on line 29

This interface extends another 2 interfaces and in one of them the count method is again presented

@jmikola
Copy link
Member

jmikola commented Aug 20, 2015

This appears to have been fixed in 5.3.9 (see: https://3v4l.org/8IhrJ).

@alcaeus: Can we slip this in to the 1.2.1 release? I'd be in favor of commenting out the declaration with a note about <=5.3.8 having a problem.

@jmikola jmikola added this to the 1.2.1 milestone Aug 20, 2015
@jmikola jmikola added the bug label Aug 20, 2015
@alcaeus
Copy link
Member

alcaeus commented Aug 21, 2015

Yeah, I'll remove the count declaration entirely. There's no change to the original declaration, so I think we're safe removing it entirely, unless you want to keep the docs around?

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

No branches or pull requests

3 participants