A PHP Error was encountered

Severity: Warning

Message: Missing argument 1 for articles::id()

Filename: controllers/articles.php

Line Number: 42

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: vid

Filename: controllers/articles.php

Line Number: 82

Glazer-Kennedy Insider's Circle

An Error Was Encountered

Error Number: 1064

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 term_data.tid = term_node.tid AND term_node.nid = content_type_gkic_articles' at line 8

SELECT content_type_gkic_articles.field_article0_body_value AS body, node.title AS title, content_type_gkic_articles.vid AS vid, term_data.name as level, content_type_gkic_articles.field_article0_teaser_value as teaser FROM content_type_gkic_articles, node, term_data, term_node WHERE content_type_gkic_articles.nid = node.nid AND content_type_gkic_articles.nid = AND term_data.tid = term_node.tid AND term_node.nid = content_type_gkic_articles.nid