I think you can add more information in thread Description, namely:
- The third query
- The table structure to which the 3rd query was supposed to insert the data.
- Error message given by PDO (if any)
- What steps you had taken this far. So others don't have to repeat trying something you already tried.
Hopefully, with more details, someone can help you out.