SQL Error: ERROR: more than one row returned by a subquery used as an expression at /home/web/storona/web/storona/dynamic/autoholl/lib/SiteFunctions/UriFunctions.php line 269
Array
(
    [code] => 
    [message] => ERROR:  more than one row returned by a subquery used as an expression
    [query] => SELECT p.price_1 AS price_num, s.img AS preview_img, s.*, sn.*, 
                                          (SELECT c.idcat FROM goodsview gw1 
                                           JOIN catalog c ON gw1.lkcatalogid=c.idcat AND c.subcatalog=5) AS firm_id
                                         FROM sort s 
                                         JOIN sortname sn ON s.id=sn.lksortid
                                         JOIN price p ON p.lksortid=sn.lksortid
                                          WHERE s.id=600
    [context] => /home/web/storona/web/storona/dynamic/autoholl/lib/SiteFunctions/UriFunctions.php line 269
)