https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4461 --- Comment #143 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to David Nind from comment #140)
This is the error in the plack-error.log after submitting the problem report in the OPAC (using MariaDB):
36 DBD::mysql::st execute failed: Incorrect datetime value: 'current_timestamp()' for column `koha_kohadev`.`problem_reports`.`created_on` at row 1 [for Statement "INSERT INTO `problem_reports` ( `borrowernumber`, `branchcode`, `content`, `created_on`, `problempage`, `reci pient`, `title`, `username`) VALUES ( ?, ?, ?, ?, ?, ?, ?, ? )" with ParamValues: 0="51", 1='CPL', 2="Test 145", 3='current_timestamp() ', 4="http://kohadev.myDNSname.org:8080/", 5="admin", 6="Test 145", 7='koha'] at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1836. 37 DBIx::Class::Storage::DBI::_dbh_execute(): Incorrect datetime value: 'current_timestamp()' for column `koha_kohadev`.`problem_reports`. `created_on` at row 1 at /kohadevbox/koha/Koha/Object.pm line 164 38 Something wrong happened when sending the report problem: Invalid value passed, problem_reports.created_on=current_timestamp() expected type is datetime at /kohadevbox/koha/opac/opac-reportproblem.pl line 131.
This is coming from a bug in master, see bug 25040. -- You are receiving this mail because: You are watching all bug changes.