For TransactionsMgmt's newTransaction() code to work, transactions table "timestamp" column must be of type datetime, not int.
Yo can update your database locally by executing the following query:
alter table transactions change timestamp timestamp datetime not null;