The k2 2.6.8 is the worst version released. I fixed the error changing the line 265 of the view.html.php file by this code:
More