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 'group by emoBild, c.inhaltID order by (sum(c.view) + 3*sum( + 5*sum(' at line 1
Fatal error: Uncaught Error: Call to a member function Value() on null in /var/www/vhosts/ Stack trace: #0 /var/www/vhosts/ include() #1 {main} thrown in /var/www/vhosts/ on line 220