TEMPLATE ERROR

Message: An exception has been thrown during the rendering of a template ("Call to undefined method PDOException::fetchAll()").
File: C:\xampp1\htdocs\src\template\sphere\stream.html
Line: 40
Code: {% for stream in streams() %}