-
Notifications
You must be signed in to change notification settings - Fork 110
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
Running any WP_CLI command breaks with qtranslate-xt #1344
Comments
@herrvigg did you ever come around to having a look at this? For the time being, I can use Instead of this: wp transient delete --all I have to do this: wp --skip-plugins="qtranslate-xt" transient delete --all But it would be very nice to have it just fixed in qtranslate-xt, as stated above. |
I don't see how #1387 would solve this. In
It seems |
I'll post the var dump tomorrow. I'm indeed using a custom directory structure as described in #1387 (comment) (Test 3) |
@herrvigg This is the requested dump:
This is the directory structure I'm using:
|
Describe the bug
When running any WP_CLI command, qtranslate breaks with this message:
To Reproduce
Steps to reproduce the behavior:
wp core update
Expected behavior
The WordPress core should be updated
Debug info
Go to
<YOUR_SITE>/wp-admin/options-general.php?page=qtranslate-xt#troubleshooting
.Press
Collect information
button and copy/paste the output below.Proposed Solution
I was able to mute the error by bailing early if WP_CLI is defined:
I don't know if this has any downsides, but it worked for me.
The text was updated successfully, but these errors were encountered: