gabordemooij / redbean

ORM layer that creates models, config and database on the fly
https://www.redbeanphp.com
2.3k stars 279 forks source link

Undefined method 'setup' #925

Closed issa0sg closed 1 year ago

issa0sg commented 1 year ago

I didn't find anything useful on the first pages. When importing by the ancient collective farm method db.php file, everything works. But after installation with a modern adequate composer method, for some reason the PDO itself becomes absolutely useless. I use a docker image of php:apache.

But the development environment itself highlights that use works. use RedBeanPHP\R;

But none of the methods from R:: are available.

Please do not advise useless advice of the kind: have you tried using \RedBeanPHP\R as R;

issa0sg commented 1 year ago

vscode trable