SimpleInvoices Group Forum › Forums › Fearless359 SimpleInvoices Discussion Group › Master2023 PDO Error when saving new invoice › Reply To: Master2023 PDO Error when saving new invoice
February 17, 2025 at 1:00 pm
#2142
Participant
Ok so I did a fresh install with an empty database and since it is a test server I also installed the sample data.
As soon as I did that I got the same PDO error:
Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2014 Cannot execute queries while there are pending result sets. Consider unsetting the previous PDOStatement or calling PDOStatement::closeCursor() in /var/www/html/simpleinvoices-master_2023/Inc/Claz/PdoDb.php:713 Stack trace: #0 /var/www/html/simpleinvoices-master_2023/Inc/Claz/PdoDb.php(713): PDOStatement->execute() #1 /var/www/html/simpleinvoices-master_2023/Inc/Claz/PdoDb.php(1310): Inc\Claz\PdoDb->lastInsertId() #2 /var/www/html/simpleinvoices-master_2023/modules/install/sample_data.php(20): Inc\Claz\PdoDb->query() #3 /var/www/html/simpleinvoices-master_2023/index.php(441): include('...') #4 {main} thrown in /var/www/html/simpleinvoices-master_2023/Inc/Claz/PdoDb.php on line 713
I have attached a zip file containing the php.log and the si.log.
I hope it will help you
Recent Comments