paragonie / chronicle

Public append-only ledger microservice built with Slim Framework
469 stars 25 forks source link

PHP Fatal error: Uncaught Error: Call to a member function escapeIdentifier() on null #42

Closed vzool closed 5 years ago

vzool commented 5 years ago

Hi, I want to create a new client but I faced this issue.

➜  chronicle git:(master) php bin/create-client.php -p "xml6UZZdha1ypeTbcFWmG-CWbgz7zxjDq6DpPdrsDVI=" --administrator
PHP Fatal error:  Uncaught Error: Call to a member function escapeIdentifier() on null in /home/vzool/Workspace/chronicle/src/Chronicle/Chronicle.php:67
Stack trace:
#0 /home/vzool/Workspace/chronicle/bin/create-client.php(115): ParagonIE\Chronicle\Chronicle::getTableName('clients')
#1 {main}
  thrown in /home/vzool/Workspace/chronicle/src/Chronicle/Chronicle.php on line 67

PHP version information:

PHP 7.2.5 (cli) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies

I used SQLite database.

Thanks