Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@wiseman.ee and inform them of the time the error occurred, and anything you might have done that may have caused the error.

[22633]ERR: 32: Warning in Perl code: DBD::Pg::st execute failed: ERROR: syntax error at or near ")"
    LINE 2: ...o.category_id AND co.published='t') AND oc.category_id IN ()
     ^ at /usr/share/perl5/vendor_perl/Common/DBCONNECT.pm line 226.
[22633]ERR: 32: Warning in Perl code: package:Site::Mediabank::Image::Main, file:/var/www/etdm.ee/vhosts/foto/htdocs/modules/Site/Mediabank/Image/Main.pm, line:327, q:SELECT oc.category_id, count(oc.*) FROM object_category oc, category_object co
     WHERE (oc.category_id=co.category_id AND co.published='t') AND oc.category_id IN ()
     GROUP BY oc.category_id ORDER BY count(oc.*) DESC LIMIT 15
[22633]ERR: 24: Error in Perl code: at /var/www/etdm.ee/vhosts/foto/htdocs/modules/Site/Mediabank/Image/Main.pm line 327.

Apache/2.4.6 (CentOS) Embperl/2.5.0 OpenSSL/1.0.2k-fips mod_perl/2.0.11 Perl/v5.16.3 [Fri Mar 29 09:03:50 2024]