I have found the solution. If you don't want to turn off the error reporting, you can do this to fix it. Open this file: \components\com_k2\views\item\view.html.php At line 463: change this code to Hope this can help others and very grateful for any replies.