I'm getting an exception A non well formed numeric value encountered when trying to save an updated answer.
Looks like it's coming from this line in inc/Handle.php (line 181 in master).
$this->update_modified_date( $question_id , current_time( 'sql', 0 ), current_time( 'sql', 1 ) );
Instead of sql, shouldn't it be timestamp? It looks like current_time only accepts timestamp or mysql as an option, otherwise it falls back to treating that string as a date formatting string. If it's mysql it tries to format the date twice. I switched it to timestamp and it appears to be working correctly.
I'm getting an exception
A non well formed numeric value encounteredwhen trying to save an updated answer.Looks like it's coming from this line in
inc/Handle.php(line 181 in master).Instead of
sql, shouldn't it betimestamp? It looks likecurrent_timeonly acceptstimestampormysqlas an option, otherwise it falls back to treating that string as a date formatting string. If it'smysqlit tries to format the date twice. I switched it totimestampand it appears to be working correctly.