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

Cannot use object of type stdClass as array in phpseclib\Net\SFTP::_remove_from_stat_cache() #1475

Open
splitice opened this issue May 10, 2020 · 3 comments

Comments

@splitice
Copy link
Contributor

splitice commented May 10, 2020

Caught this error randomly today.

PHP Fatal Error · Uncaught Error: Cannot use object of type stdClass as array in /var/www/revision/r382/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php:1202

version: phpseclib 2.0.27

@terrafrost
Copy link
Member

Does ef9785d fix the issue for you?

@splitice
Copy link
Contributor Author

@terrafrost I'll push with the next update and let you know. As it occurred during general operation (no replication instructions) I won't know for sure.

Thanks for the commit anyway.

@splitice
Copy link
Contributor Author

I haven't seen this occur since including your commit.

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