Closed GaryJones closed 1 year ago
@GaryJones I know this is outdated but this happens to me to.
@schlessera curious to know if that var_dump is in there for a particular reason?
curious to know if that var_dump is in there for a particular reason?
Here's where it was added: https://github.com/wp-cli/shell-command/commit/4a7f30a36482d4ef2b034ab14bc4eda61b905974
It seems like it was intentional.
I can't get the behavior to reproduce in my shell, though... is there some clear way to reproduce?
curious to know if that var_dump is in there for a particular reason?
Here's where it was added: 4a7f30a
It seems like it was intentional.
I can't get the behavior to reproduce in my shell, though... is there some clear way to reproduce?
I'm not really sure, posted this a while ago, I tried to reproduce it now without success.
@GaryJones Any ideas on how to reproduce?
I can't recreate this now (even with schlessera/wp-cli-psysh package uninstalled, which is what I have usually now).
Bug Report
Describe the current, buggy behavior
When doing any command in
wp shell
when SSH'd into a remote server, I get a path to the WP-CLI REPL file returned to me before the correct output.Describe how other contributors can replicate this bug
Describe what you would expect as the correct outcome
That this path should not appear when using the simplistic REPL.
Let us know what environment you are running this on
Provide a possible solution
Maybe remove or fix this
var_dump()
?