We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Phalcon 4 Model

Hi,

My PHQL

SELECT u.*, r.name FROM [User\Model\User] AS [u] LEFT JOIN [User\Model\Role] AS [r] ON u.role_id = r.id ORDER BY u.id DESC

When I run the PHQL, I get the following error: Undefined index: name in phalcon/Mvc/Model/Resultset/Complex.zep on line 223

With Phalcon v3.4 is this PHQL not a problem. Only with Phalcon v4 (current version 4.0.0-rc.1).

I hope someone can help me.

Create issue on github.



773

thx for answer. I open a issues on github.