Getting Undefined offset for find() in laravel 5.6
pradeep-upadhyaya opened this issue · 2 comments
Hi, I am using laravel: 5.6 and vinelab/neoeloquent: 1.4.6.
I have built a simple laravel login app and saving sessions in the database. If I enter to this URLlocalhost:8081/login
I am getting the below error.
Undefined offset: 0
this error is triggering by the below line
$session = (object) $this->getQuery()->find($sessionId);
If I remove find()
in the above line it will redirect to the login page successfully(but not able to log in).
Can anyone help me out to solve this? Let me know if anyone needs more details. Thank you.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@pradeep-upadhyaya please update your NE installation to v1.5 (the latest) and try again. Thank you for your patience, we've been a bit stale but now back in activity with the latest version of the official Neo4j-php driver. Good luck!
If you happen to face the same problem please let us know by reopening this issue.