Hi
I did made changes to my website but none very recently.
and today just discovered this when I tried to visit the user profile (www.sitename.com/username), and got database query error:
SELECT COUNT(*) FROM `bx_photos_main` left JOIN `Profiles` ON `Profiles`.`ID`=`bx_photos_main`.`Owner` left JOIN `sys_albums_objects` ON `sys_albums_objects`.`id_object`=`bx_photos_main`.`ID` WHERE 1 AND `bx_photos_main`.`Status` ='approved' AND `bx_photos_main`.`Owner` ='2' AND `sys_albums`.`Uri` ='SiteName-s-photos'
Unknown column 'sys_albums.Uri' in 'where clause'
Called 'db_value' function with erroneous argument #0.
and line 506 has:
return (int)db_value($sqlQuery);
Would someone please please give me a hand?
many thanks