Resolve PDO errors and fix primary key on acp_settings
Merge pull request #247 from LordRalex/patch-4

Resolve PDO errors and fix primary key on acp_settings