The DB class (in db.php) incorrectly passes two extra arguments to DB::query when creating the non-existent database (line 75). The following warning is emitted in api/1/links/index.php:
Warning: PDOStatement::execute() expects parameter 1 to be array, string given in /Users/tpunt/localhost/general/linbeta/inc/db.php on line 102
The DB class (in db.php) incorrectly passes two extra arguments to DB::query when creating the non-existent database (line 75). The following warning is emitted in api/1/links/index.php:
Warning: PDOStatement::execute() expects parameter 1 to be array, string given in /Users/tpunt/localhost/general/linbeta/inc/db.php on line 102