|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72041 Unknown type 18 sent by the server
Submitted: 2016-04-17 10:24 UTC Modified: 2017-04-24 19:19 UTC
From: janne dot saukkio at gmail dot com Assigned:
Status: Open Package: PDO MySQL
PHP Version: 5.6.20 OS: Debian 8
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: janne dot saukkio at gmail dot com
New email:
PHP Version: OS:


 [2016-04-17 10:24 UTC] janne dot saukkio at gmail dot com
Apache2 error_log:
PHP Warning: PDO::prepare(): Unknown type 18 sent by the server. Please send a report to the developers ... on line 65
PHP Fatal error: Call to a member function execute() on boolean ... on line 66

My PHP version is 5.6.19-0+deb8u1 (Jessie doesn't have an update for PHP)
My MySQL version is 5.7.11

Example SQL code works perfectly on MySQL console and doesn't create an error.

Test script:

Create a PHP error by adding "?error=1" in the url


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-04-24 19:19 UTC]
-Package: PDO related +Package: PDO MySQL
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Nov 25 17:01:23 2020 UTC