I am getting this error on my webpage can anyone help as I dont have a clue what to do next.
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') GROUP BY comments.itemID' at line 11 SQL=SELECT content.id AS id, COUNT(comments.itemID) AS count FROM w2gri_k2_items AS content LEFT JOIN w2gri_k2_comments AS comments ON comments.itemID = content.id WHERE comments.published AND ( ) GROUP BY comments.itemID ;
When I click on k2/items/article I get the following errors
Notice: Undefined property: stdClass::$rows in /home/simdetai/public_html/administrator/components/com_k2/models/extrafield.php on line 224
Notice: Undefined property: stdClass::$cols in /home/simdetai/public_html/administrator/components/com_k2/models/extrafield.php on line 225
Not sure what that means or what I need to do to correct them.