Warning: pg_query(): Query failed: ERROR: division by zero in /var/www/html/include/data/PostgresClass.php on line 39
Fatal error: Uncaught TypeError: pg_fetch_assoc(): Argument #1 ($result) must be of type resource, bool given in /var/www/html/include/data/PostgresClass.php:40
Stack trace:
#0 /var/www/html/include/data/PostgresClass.php(40): pg_fetch_assoc()
#1 /var/www/html/modules_postgres/FrontBerita.php(472): PostgresClass->get_results()
#2 /var/www/html/modules_postgres/FrontBerita.php(275): FrontBerita->trending()
#3 /var/www/html/modules_postgres/FrontBerita.php(26): FrontBerita->read()
#4 /var/www/html/modules_postgres/FrontClass.php(91): FrontBerita->init()
#5 /var/www/html/awal.php(66): FrontClass->init()
#6 /var/www/html/awal.php(75): cms->init()
#7 {main}
thrown in /var/www/html/include/data/PostgresClass.php on line 40