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

BUGFIX: Adjust to PHP 8.3 get_parent_class() deprecation #3406

Open
wants to merge 1 commit into
base: 8.3
Choose a base branch
from

Conversation

lorenzulrich
Copy link
Contributor

Somehow, https://github.com/neos/flow-development-collection/pull/3351/files only targeted Flow 9.0, but per the docs, Flow 8.3 also supports PHP 8.3.
This is just a backport of these changes.

@kitsunet
Copy link
Member

Thank you! :) Good catch

@lorenzulrich
Copy link
Contributor Author

Please do not merge this. For reasons still unknown to me, this leads to the following exception when querying repositories that extend other repositories:

Call to a member function createQueryForType() on null

  Type: Error
  File: Packages/Framework/Neos.Flow/Classes/Persistence/Repository.php
  Line: 137

So somehow this leads to the PersistenceManager not being available.

@lorenzulrich
Copy link
Contributor Author

See further comments in #3351

@mhsdesign
Copy link
Member

hmmm thanks for your pr ... but that error would be odd to be caused by this change? I myself am using php 8.3.7 with the mentioned Flow 9.0 fix and i be we have extended repositories ourselves?

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

Successfully merging this pull request may close these issues.

3 participants