Ошибка в запросе БД:

Unknown column 'i.site_id' in 'on clause'

SELECT COUNT(i.id) as count
FROM bir_seo_tasks i
INNER JOIN bir_band_sites as s ON s.id = i.site_id
INNER JOIN bir_band_projects as p ON p.id = s.project_id
WHERE (p.user_id = '0')

Последние вызовы: