Expected result
A useful error message such as that for bee status:
⚠️ No Backdrop installation found. Run this command again from within a Backdrop installation, or use the '--root' global option.
Actual result
Fatal errors such as:
user@machine:~/projects/bee$ lando bee sql
PHP Fatal error: Uncaught Error: Class "Database" not found in /app/commands/db.bee.inc:279
Stack trace:
#0 /app/includes/command.inc(107): sql_bee_callback(Array, Array)
#1 /app/bee.php(31): bee_process_command()
#2 {main}
thrown in /app/commands/db.bee.inc on line 279
Fatal error: Uncaught Error: Class "Database" not found in /app/commands/db.bee.inc:279
Stack trace:
#0 /app/includes/command.inc(107): sql_bee_callback(Array, Array)
#1 /app/bee.php(31): bee_process_command()
#2 {main}
thrown in /app/commands/db.bee.inc on line 279
Note: db-query is fine. it returns:
✘ The required bootstrap level for 'db-query' is not ready.
Steps to reproduce
bee db-drop
bee db-export
bee db-import
(with a valid file)bee sql
Expected result A useful error message such as that for
bee status
:Actual result Fatal errors such as:
Note:
db-query
is fine. it returns: