-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
db size does not work with Bedrock #23
Comments
For now, you can use |
Ok, I see. Thanks for explanation! |
@danielbachhuber After following suggestion here to use EDIT: nevermind, I had a function defined in the file, so I had to wrap it in |
@coreyworrell Also, for future reference:
|
Hi,
I'm using Bedrock as project boilerplate, so
wp-config.php
in WordPress root directory acts only as loader for actual configuration files that are included viarequire_once
.When running
wp db size
, I get:Error: The site you have requested is not installed. Run `wp core install`.
For some reason,
$table_prefix
is not read from config. Here's the stack trace:Some more observations:
db size
is the only one causing this issue.db-command
package.wp-config.php
are included viarequire
instead ofrequire_once
, the issue is gone.The text was updated successfully, but these errors were encountered: