-
Notifications
You must be signed in to change notification settings - Fork 398
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
Get a PDO instance ... error #1683
Comments
-class StatementWrapper extends PDOStatement implements IteratorAggregate
+class StatementWrapper implements StatementInterface, IteratorAggregate You will see that in order to be PHP8 ready, the next release will have to use an interface contract and proxy into PDO classes instead of just extending them. |
@dereuromark No I can make it work completely. |
Do you have any suggestions or a PR on what could be improved here? |
I finally find a "workaround" and it's working, but I'm not really satisfied with this solution. |
Do you want to elaborate a bit more? |
Since there is no further regression or php8 issues, I will close this now |
@dereuromark i've never had this problem before, but since I upgrade from 2.0.0-alpha11 to dev-master, I get this error, each times I try to get an instance of pdo :
.... __construct() must be an instance of PDO, instance of Propel\Runtime\Connection\PdoConnection given.
So to extract the instance I use the code below
CalDavPDO is a class that use sabre.io
Could you give me an advice to solve the problem ?
Thank's a lot and sorry for my poor english level.
The text was updated successfully, but these errors were encountered: