Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
02-04-2022 08:47 AM
I have an issue in connecting to Neo4j driver using "laudis/neo4j-php-client": "^2.4.2"
I'm using Neo4j Aura DB and the previous version "laudis/neo4j-php-client": "^2.3.3" was working good and after upgrading to the latest version I got this error in attached screenshot
And my connection code is
public static function RunStatement($statement)
{
$auth = Authenticate::basic(env('DB_USERNAME_NEO4J'), env('DB_PASSWORD_NEO4J'));
$client = ClientBuilder::create()
->withDriver('neo4j', 'neo4j+s://c49e3cfd.databases.neo4j.io', $auth)
->withDefaultDriver('neo4j')
->withDefaultTransactionConfiguration(TransactionConfiguration::default()->withTimeout(200))
->build();
return $client->runStatement($statement);
}
02-04-2022 11:02 AM
Did you uninstalled previous version completely?
02-04-2022 11:33 AM
No I only upgraded the package and this the usual behavior for upgrading any package in Laravel framework
02-04-2022 07:53 PM
Please have a look at debug.log file.Attach it with the post.
Many thanks
G Sameer
02-06-2022 03:39 AM
I found the problem is from this package stefanak-michal/bolt v3.1 and when I downgraded the package to v2.7.2 the problem occurred
All the sessions of the conference are now available online