Warning: mysqli_query(): (21000/1242): Subquery returns more than 1 row in /var/www/geniuses/geniuses.club/libs/SafeMySQL.php on line 466
Fatal error: Uncaught Exception: SafeMySQL: Subquery returns more than 1 row. Full query: [SELECT
pe.id AS pe_id,
pe.full_name AS pe_full_name,
pe.dir AS pe_dir,
pe.file AS pe_file,
pe.birth_date AS pe_birth_date,
pe.death_date AS pe_death_date,
pe.birth_year AS pe_birth_year,
pe.death_year AS pe_death_year,
pe.source AS pe_source,
pe.author AS pe_author,
pe.alias AS pe_alias,
pe.description_short AS pe_description_s,
LEFT(pe.description, 200) AS pe_desc_small,
LEFT(pe.description, 400) AS pe_desc_400,
pe.date_add AS pe_date_add,
(SELECT views FROM genius_views WHERE related_type = 'person' AND related_id = pe_id) AS pe_views,
(SELECT GROUP_CONCAT(ca.id SEPARATOR ', ') FROM genius_pe_ca pe_ca INNER JOIN genius_categories ca ON pe_ca.category_id = ca.id WHERE pe_ca.person_id = pe_id) AS pe_categories
FROM genius_persons pe LEFT JOIN gen in /var/www/geniuses/geniuses.club/libs/SafeMySQL.php on line 628