CDbException - Easy Fix

Special thanks to everyone who contributes here and the staff. This afternoon I received the following error:
CDbException
CDbConnection is unable to find PDO class "PDO". Make sure PDO is installed correctly.

It turns out that my hosting company upgraded to php 7.1 and it doesn't include PDO.

Solution was going back to 7.0 or having PDO installed. Hope that helps someone.
 
Back
Top