Error (0.0005 s):

  1. SELECT
  2. content.*,
  3. content.position,
  4. content.plugin_id,
  5. plugin.id AS plugin_id,
  6. plugin.class AS plugin,
  7. plugin.mode AS mode,
  8. content_translation.title,
  9. content_translation.content
  10. FROM
  11. content
  12. CROSS JOIN `content_translation` ON `content_translation`.`content_id` = `content`.`id` AND `content_translation`.`language_id` = 'it'
  13. LEFT JOIN
  14. plugin AS plugin ON content.plugin_id = plugin.id
  15. WHERE
  16. (
  17. content.page_id IS NULL OR
  18. content.page_id =
  19. ) AND
  20. content.hidden = 0
  21. ORDER BY
  22. content.position DESC,
  23. content.ord ASC

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 ') AND content.hidden = 0 ORDER BY content.position DESC, cont' at line 19

/home/chat/public_html/framework/core/model/model.php (line 72)

Fatal error: Call to a member function getAll() on a non-object in /home/chat/public_html/framework/core/project/project_model.php on line 69