Skip to main content
Topic: Getting PDO error (Read 703 times) previous topic - next topic

Getting PDO error

Using PHP 7.2 and xampp.

Getting an error while trying to access my sqlite database.

All other pages work, like Home, Contact Us, etc

It's a simple table


Error 500

Server Error
Exception Traces
This will only be displayed in DEVELOPMENT_MODE.
Error Message    Call to a member function execute() on null
File    C:\xampp\htdocs\test\app\models\PDODb.php On Line 1045
Stack Trace    1 C:\xampp\htdocs\test\app\controllers\TestController.php(53): PDODb->get('test', Array, Array)2 C:\xampp\htdocs\test\system\Router.php(196): TestController->index()3 C:\xampp\htdocs\test\system\Router.php(109): Router->run('test')4 C:\xampp\htdocs\test\index.php(106): Router->init()


Thanks
Alan


Re: Getting PDO error

Reply #2
I didn't do anything specific that I know of. What should I be looking for?