wp-cli / wp-cli/search-replace-command
WordPress database error Unknown column 'Tables_in_' during search-replace
Nobody has claimed this yet.
- Dominant language
- Gherkin
- Stars
- 61
- Forks
- 47
- Avg merge
- 8m
- Merged PRs (30d)
- 1
Description
Hi all,
using version 1.5, in a multisite installs with wp-content in custom location, if i try to launch
wp search-replace something someone
i get this error
WordPress database error Unknown column 'Tables_in_' in 'where clause' for query SHOW TABLES WHERE Tables_in_ IN [...]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported wp search-replace something someone command in a multisite installation with wp-content in a custom location, using the issue's SHOW TABLES error as the symptom to trace. Follow the search-replace command's database table-discovery entry point and verify that the command completes without the Tables_in_ error in that configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- wordpress
- Domain
- cli, databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100