neo4j-php-client
neo4j-php-client copied to clipboard
ErrorException: Notice: Undefined index:
Describe the bug Executing a query in tight loop with increasing offset triggers this exception.
To Reproduce Steps to reproduce the behavior:
- Create client with neo4j scheme bolt
- Open read transaction
- Create a query with limit 1000
- Commit transaction
- Manually increase the offset
- repeat until it errors (or the resulting number of elements < limit).
Issue only happens when we get more results than the limit and we need to keep looping
Expected behavior Be able to call the query in a loop until no more results exist.
Screenshots

Desktop (please complete the following information):
- Library version: 2.8.x - tried them all
- Neo4j Version: 4.4.14 (enterprise)
- PHP version: 7.4.33
- OS: Linux 5.4.0-1086-gke
How can I solve it?
Maybe it will be worth a shot to try out php 8.1 and latest version of library. To check if the problem persist.
Fyi not sure if this issue still happens as I'm currently off the project
I use version 2.5 and php 8 and neoelqent 1.8 I have problems 1- many connections with database 2- maxim rows are 1000 only
NeoEloquent from Vinelab is really outdated. There is a fork which is better at it https://github.com/ulobby/NeoEloquent Because as you can see this library is already ^3.
this fork use laravel 10 and php 8.1 i use php8 and laravel 8