You need to check your database table jos_k2_items.
I had this error and all my articles disappeared. :eek:
Line 80 is a foreach() loop trying to pull data from your database. If you have something to interact with your database directly then use it: eg. phpMyAdmin or Navicat. You need permission to run SQL queries against your database.
This is the fix if your table has crashed, when you click to browse it you get the following error:
#145 - Table './jos_k2_items' is marked as crashed and should be repaired
In phpMyAdmin:
1. Select the database in use
2. Click to browse the table "jos_k2_items"
3. Click on "SQL" tab (where you can run a query)
4. Type "REPAIR TABLE jos_k2_items"
I've documented this on my site at
www.joellipman.com/articlesdocumentation/web-development/joo...
NOTE: the default prefix for your Joomla! database tables is "jos_". If you changed this during the install of your Joomla! website then you'll need to change the command 'REPAIR TABLE (name of the table with your K2 articles)'