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

An issue "Cannot call constructor" when using property mapper for model news #26

Open
taieb123 opened this issue May 23, 2022 · 0 comments

Comments

@taieb123
Copy link

taieb123 commented May 23, 2022

I found an issue when i'm trying to use the property mapper for news model, I got an error "Cannot call constructor", after checking I found the problem coming from the Yoast news extension exactly with the extend news model, the problem is the parent::__construct since are extend class it can override it with call the parent.

https://bugs.php.net/bug.php?id=54631

image

image

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

1 participant