I do not understand why it had such an error. Can anyone help me please show me how.
What CakePHP version are you using?
It seems to me like your
app.php isn’t right.
I had the same error today.
Normally this error occurs when the pdo_sqlite extension is not installed.
So in my case I just installed the extension and it solved my problem.