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

Error for symfony v7 #2794

Closed
featuriz opened this issue Apr 25, 2024 · 5 comments
Closed

Error for symfony v7 #2794

featuriz opened this issue Apr 25, 2024 · 5 comments

Comments

@featuriz
Copy link
Contributor

There is a bug in src/Timestampable/Mapping/Event/Adapter/ORM.php on line 35

return $converter->convertToPHPValue($this->getRawDateValue($mapping), $platform);

$this->getRawDateValue($mapping)
Expected type 'array'.
Found 'Doctrine\ORM\Mapping\FieldMapping'

@featuriz
Copy link
Contributor Author

@mbabker
Copy link
Contributor

mbabker commented Apr 25, 2024

This has nothing to do with Symfony 7.

You are trying to use ORM 3.x which this package is not yet compatible with. Please downgrade to ORM 2.x.

@featuriz
Copy link
Contributor Author

Yes @mbabker . I have found and mentioned the file that causing the problem. I request the maintainer to update ORM (upcoming).
I'm testing on this. Not using in production (up to now).

@mbabker
Copy link
Contributor

mbabker commented Apr 29, 2024

I just looked at some old PRs today and this particular compat issue is fixed in this package's 3.15 release via #2765, so this issue can be closed out. There are still some other things to fix, but this specific item isn't one of them.

@featuriz
Copy link
Contributor Author

featuriz commented May 1, 2024

Okay @mbabker I'm closing this

@featuriz featuriz closed this as completed May 1, 2024
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

2 participants