I have a problem executing query on a model.
I have a module located at base/module/ and inside a controllers, models, etc folders executing a query like (SELECT * FROM App\Module\Model) is working.
But, in another module located at base/subfolder/module2 executing the same query in a model inside this module is not working... I payed attention to the namespaces which in case for the model of the module 2 is : App\Subfolder\Module\Model If y query with Model::find() (with use App\Subfolder\Module\Model) it's working, but with PHQL (SELECT * FROM App\Subfolder\Module\Model) it's not.
Any ideas ?