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

Warning on stream_wrapper_restore #48

Closed
Purus opened this issue Mar 4, 2017 · 6 comments
Closed

Warning on stream_wrapper_restore #48

Purus opened this issue Mar 4, 2017 · 6 comments

Comments

@Purus
Copy link

@Purus Purus commented Mar 4, 2017

I am getting the below warning in my shared hosting. But there was no warning in my local WAMPP setup.

Is this anything related to server?

Message:	stream_wrapper_restore(): phar:// never existed, nothing to restore
File:	/home/iyaffxpe/public_html/classes/vendor/antecedent/patchwork/src/CodeManipulation/Stream.php
Line:	35
@antecedent
Copy link
Owner

@antecedent antecedent commented Mar 4, 2017

Which version of PHP is that?

@Purus
Copy link
Author

@Purus Purus commented Mar 4, 2017

@antecedent
Copy link
Owner

@antecedent antecedent commented Mar 4, 2017

This seems like Suhosin, could you verify that it is enabled? I will attempt a patch meanwhile.

@Purus
Copy link
Author

@Purus Purus commented Mar 4, 2017

@antecedent
Copy link
Owner

@antecedent antecedent commented Mar 5, 2017

Maybe it's something else then. Please try the last push to master. This is just suppressing the warning though.

@Purus
Copy link
Author

@Purus Purus commented Mar 5, 2017

Thanks for the fix.

@Purus Purus closed this Mar 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.