Error occured:
SQL error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 5
SQL: select if(i.file is null or trim(i.file)='', 'img/pagetop.gif', concat('images/', if( is null or trim('', '', concat(, '/')), i.file)) from composition as c left join images as i on ( left join imgsections as s on ( where