Cakephp returns error in Sqlite database Cannot describe users. It has 0 Columns

Asked

Viewed 13 times

0

Please,

Using Cakephp 4.2.5, I have an sqlite database of 3 tables and are not empty.

When I do on controller:

    $usersTable = TableRegistry::getTableLocator()->get('Users');

    $query = $usersTable->find();

The following error message appears:

Cannot describe users. It has 0 Columns.

The settings and path of the directory where the table is kitmoto db. is correct, so much so that I have no error related to it, but when consulting returns this error.

Grateful

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.