Replies: 6 comments 4 replies
-
Phalcon 4 requires devtools 4 version as well. |
Beta Was this translation helpful? Give feedback.
-
simply creating a model with devtool 4 generates an exception example:
this generates exception must implement interface Phalcon\Mvc\ModelInterface or be null, instance of Phalcon\Mvc\Model\Row returned This way we cant work, 4 is not stable if you don't overload findfirst work, ok. But this is horrible, becasuse your ide cant work with annotations. this is crappy phalcon 4 is not for production |
Beta Was this translation helpful? Give feedback.
-
model: ` /**
} one model
I must put columns, becasuse if you put $example = \minamespace\Logins::findFirst(); the sql generate it's this: SELECT FROM "Logins" LIMIT :APL0 APL0 => 1 and generates error ok, exception: ERROR: Return value of minamespace\Logins::findFirst() must implement interface Phalcon\Mvc\ModelInterface or be null, instance of Phalcon\Mvc\Model\Row returned function: findFirstfile: /var/www/example/app/controllers/IndexController.php function: indexActionclass: IndexController function: callActionMethodclass: Phalcon\Dispatcher\AbstractDispatcher function: dispatchfile: /var/www/manuelpeliz.es/public/kernel.php a horror |
Beta Was this translation helpful? Give feedback.
-
the code generated by devtools is correct, but the framework has serious errors |
Beta Was this translation helpful? Give feedback.
-
If someone wants to migrate, they should be told not to do so. with these problems can not work |
Beta Was this translation helpful? Give feedback.
-
Tested with fresh install, I approve this is bug, but related directly to To get filtered columns or scalar values from database, use query builder (phql) instead. |
Beta Was this translation helpful? Give feedback.
-
just creating the model with phalcon-devtools findfirst generates exception
must implement interface Phalcon\Mvc\ModelInterface or be null, instance of Phalcon\Mvc\Model\Row returned
that the basic works does not work
wasting time migrating is stupid
Beta Was this translation helpful? Give feedback.
All reactions