An unexpected error occurred.

mysql error: [1048: Column 'fID' cannot be null] in EXECUTE("insert into DownloadStatistics (fID, fvID, uID) values (NULL, 0, 0)")

Fatal error: Uncaught exception 'ADODB_Exception' with message 'mysql error: [145: Table './bbfrd_concrete/Logs' is marked as crashed and should be repaired] in EXECUTE("insert into Logs (logType, logText, logIsInternal) values ('exceptions', 'Exception Occurred: mysql error: [1048: Column \'fID\' cannot be null] in EXECUTE(\"insert into DownloadStatistics (fID, fvID, uID) values (NULL, 0, 0)\")\n\n#0 /var/www/vhosts/bbfrd.org/httpdocs/concrete/libraries/3rdparty/adodb/adodb.inc.php(1042): adodb_throw(\'mysql\', \'EXECUTE\', 1048, \'Column \'fID\' ca...\', \'insert into Dow...\', false, Object(ADODB_mysql))\n#1 /var/www/vhosts/bbfrd.org/httpdocs/concrete/libraries/3rdparty/adodb/adodb.inc.php(998): ADOConnection->_Execute(\'insert into Dow...\')\n#2 [internal function]: ADOConnection->Execute(\'insert into Dow...\', Array)\n#3 /var/www/vhosts/bbfrd.org/httpdocs/concrete/libraries/database.php(73): call_user_func_array(Array, Array)\n#4 [internal function]: Database->__call(\'Execute\', Array)\n#5 /var/www/vhosts/bbfrd.org in /var/www/vhosts/bbfrd.org/httpdocs/concrete/libraries/3rdparty/adodb/adodb-exceptions.inc.php on line 78