I have upgraded the Magento version from 2.2.6 to 2.3.0 via composer. I have tried running the command php bin/magento setup:upgrade
but it says the below error
There are no commands defined in the "setup" namespace
What could be the issue?
Please, anyone, help me