I created a new module, that fixed pulling the data from the wrong tables. But, it now has this error:
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 'DESC LIMIT 0,12' at line 21 SQL=SELECT content.id AS iid FROM lk3oc_content AS content WHERE content.state = 1 AND content.access IN (1,1) AND ( content.publish_up = '0000-00-00 00:00:00' OR content.publish_up <= '2015-05-27 11:06:02' ) AND ( content.publish_down = '0000-00-00 00:00:00' OR content.publish_down >= '2015-05-27 11:06:02' ) AND ( content.catid = 39 OR content.catid = 40 OR content.catid = 41 OR content.catid = 42 OR content.catid = 50 ) ORDER BY content. DESC LIMIT 0,12;
This doesn't make any sense. All of the articles are published, all of the categories are published.
Very confused.