Warning: sort() expects parameter 1 to be array, null given in /home/httpd/html/galleries.cosmid.net/public_html/lib/classes/affiliate_galleries.class.php on line 86
Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 ')
order by rand() limit 3' at line 11 in /home/httpd/html/galleries.cosmid.net/public_html/lib/classes/DatabaseMiguel.class.php:66
Stack trace:
#0 /home/httpd/html/galleries.cosmid.net/public_html/lib/classes/DatabaseMiguel.class.php(66): PDOStatement->execute()
#1 /home/httpd/html/galleries.cosmid.net/public_html/lib/classes/DatabaseMiguel.class.php(69): Database->execute()
#2 /home/httpd/html/galleries.cosmid.net/public_html/lib/classes/posts.class.php(623): Database->resultset()
#3 /home/httpd/html/galleries.cosmid.net/public_html/index.php(38): posts->get_like_posts(NULL, 'photoset')
#4 {main}
thrown in /home/httpd/html/galleries.cosmid.net/public_html/lib/classes/DatabaseMiguel.class.php on line 66