Warning: [mysql error 126] Incorrect key file for table '/tmp_mysql_aux2/#sql_8742_3.MYI'; try to repair it

  FROM piwigo_images AS i
    JOIN piwigo_image_category AS ic ON ic.image_id = i.id
   WHERE  (category_id NOT IN (161))
    AND author IS NOT NULL
  GROUP BY author, id
  ORDER BY author
; in /home/virtwww/w_usoevfoto-ru_02391051/http/include/dblayer/functions_mysqli.inc.php on line 830
Fatal error: Call to a member function fetch_assoc() on a non-object in /home/virtwww/w_usoevfoto-ru_02391051/http/include/dblayer/functions_mysqli.inc.php on line 211