Hello Phalconeers
I'm having this error while trying to call the function executeQuery on the modelsManager i'm getting this error when the query does not match any records but when it does it works just fine, and there is not exception to catch?
Phalcon Version: 2.0.9 Platform: Ubuntu 14.04 PHP Version: 5.5.9
Error: The index does not exist in the cursor
Code :
$phql = "SELECT
*
FROM
PosAccessTokens,
CustomerUsers
WHERE
PosAccessTokens.accessToken = :token:
AND
PosAccessTokens.userID = CustomerUsers.userID";
$token = $this->modelsManager->executeQuery(
$phql,
array(
'token' => $token
)
);