Fatal error: Uncaught Error: Cannot use object of type PDOStatement as array in /srv/users/notetoservices/apps/mypost/public/random.php:6 Stack trace: #0 {main} thrown in /srv/users/notetoservices/apps/mypost/public/random.php on line 6