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

[appserver-io/doppelgaenger] Call to a protected method errors due to context mismatch #855

Closed
dongelci opened this issue Jun 25, 2015 · 5 comments
Assignees
Labels

Comments

@dongelci
Copy link

PHP Fatal error: Call to protected method AppserverIo\Doppelgaenger\Parser\TraitParser::getAttributeProperties() from context 'AppserverIo\Doppelgaenger\Parser\TraitParser' in /opt/appserver/vendor/appserver-io/doppelgaenger/src/Parser/PropertyParserTrait.php on line 90

@wick-ed wick-ed changed the title [appserver-io/doppelgaenger] call to a protected method [appserver-io/doppelgaenger] Call to a protected method Jun 25, 2015
@wick-ed
Copy link
Member

wick-ed commented Jun 25, 2015

Hi there @welly275 ,

which version of appserver-io/doppelgaenger do you use? This issue seems to be related to a behavior occuring together with the pthreads extension.
There is a fix available with doppelgaenger version 1.4.2

Please recheck and come back for confirmation or further support. :)

@dongelci
Copy link
Author

i am using the 1.4.4. is there something that has to be configured? because on every restart i am getting that php error.

@wick-ed
Copy link
Member

wick-ed commented Jun 25, 2015

No, this is no configuration problem. It seems to be related to pthreads context separation and the inheritance of class definitions in between these contexts.
Must be based on the specific timing of your machine as it did not show anywhere else.

I will release a patch for that asap.

@wick-ed wick-ed added the bug label Jun 25, 2015
@wick-ed wick-ed added this to the Release 1.1.0 "Iron Knight" milestone Jun 25, 2015
@wick-ed wick-ed self-assigned this Jun 25, 2015
@dongelci
Copy link
Author

it might be. thank you for your attention.

@wick-ed wick-ed changed the title [appserver-io/doppelgaenger] Call to a protected method [appserver-io/doppelgaenger] Call to a protected errors due to context mismatch Jun 25, 2015
@wick-ed wick-ed changed the title [appserver-io/doppelgaenger] Call to a protected errors due to context mismatch [appserver-io/doppelgaenger] Call to a protected method errors due to context mismatch Jun 25, 2015
@wick-ed
Copy link
Member

wick-ed commented Jun 25, 2015

Should be fixed with this release

@wick-ed wick-ed closed this as completed Jun 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants