Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is a warning: Undefined array key "timestamp" #84

Closed
james2001 opened this issue Oct 8, 2024 · 0 comments · Fixed by #85
Closed

There is a warning: Undefined array key "timestamp" #84

james2001 opened this issue Oct 8, 2024 · 0 comments · Fixed by #85
Labels

Comments

@james2001
Copy link
Contributor

Describe the bug
There is a warning: Undefined array key "timestamp" during the execution of a Neo4j transaction using the Neo4jBundle for Symfony.

To Reproduce
Steps to reproduce the behavior:

  1. Create a client using the Neo4j schema.
  2. Open a transaction.
  3. Commit the transaction.
  4. See the error in the logs: "Warning: Undefined array key 'timestamp'".

Expected behavior
The transaction should complete successfully without any warnings or errors, especially regarding undefined array keys like "timestamp".

Error Message

Warning: Undefined array key "timestamp"

Neo4jDataCollector::Neo4j\Neo4jBundle\Collector\{closure}(array('status' => 'success', 'result' => array('counters' => object(SummaryCounters), 'databaseInfo' => object(DatabaseInfo), 'notifications' => object(CypherList), 'plan' => null, 'profiledPlan' => null, 'statement' => object(Statement), 'queryType' => object(QueryTypeEnum), 'resultAvailableAfter' => 0.0018558502197265625, 'resultConsumedAfter' => 0.004845857620239258, 'serverInfo' => object(ServerInfo)), 'alias' => 'default', 'time' => '2024-10-08 12:39:19', 'start_time' => 1728391159, 'end_time' => 1728391159.0067017), array('status' => 'success', 'result' => array('counters' => object(SummaryCounters), 'databaseInfo' => object(DatabaseInfo), 'notifications' => object(CypherList), 'plan' => null, 'profiledPlan' => null, 'statement' => object(Statement), 'queryType' => object(QueryTypeEnum), 'resultAvailableAfter' => 0.0017659664154052734, 'resultConsumedAfter' => 0.002324819564819336, 'serverInfo' => object(ServerInfo)), 'alias' => 'default', 'time' => '2024-10-08 12:39:19', 'start_time' => 1728391159, 'end_time' => 1728391159.0040908))

Screenshots
If applicable, provide screenshots demonstrating the issue.

Desktop (please complete the following information):

  • Library version: dev-master
  • Neo4j Version: 5.24.1
  • PHP version: 8.2.21
  • OS: Docker container based on php:8.2-fpm-bullseye.

Additional context
The issue is observed while using the following software environment:

  • Neo4j Symfony Bundle version: dev-master (2024-09-16 release).
  • A Docker container running PHP version 8.2 with the following additional extensions: intl, opcache, pdo_mysql, zip, apcu, xdebug, amqp, sockets, pcntl.

I'll include the following diagnostics:

  • Neo4j version used in Docker: 5.24.1.
  • Framework: Symfony via neo4j/neo4j-bundle.

Please advise if further context or logging details are required for replication.


This issue template should be ready to report the bug to the relevant maintainers on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant