1146 Table 'zc_shop.categories' doesn't exist
in:
[SELECT count(*) AS total FROM categories WHERE parent_id = 23]