Bug #72041 [NEW]: Unknown type 18 sent by the server

From: Date: Sun, 17 Apr 2016 10:24:50 +0000
Subject: Bug #72041 [NEW]: Unknown type 18 sent by the server
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-200610@lists.php.net to get a copy of this message
From: janne dot saukkio at gmail dot com Operating system: Debian 8 PHP version: 5.6.20 Package: PDO related Bug Type: Bug Bug description:Unknown type 18 sent by the server Description: ------------ 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: --------------- http://pastebin.com/YkKN1HdX Create a PHP error by adding "?error=1" in the url -- Edit bug report at https://bugs.php.net/bug.php?id=72041&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=72041&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=72041&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=72041&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=72041&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=72041&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=72041&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=72041&r=needscript Try newer version: https://bugs.php.net/fix.php?id=72041&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=72041&r=support Expected behavior: https://bugs.php.net/fix.php?id=72041&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=72041&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=72041&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=72041&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=72041&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=72041&r=dst IIS Stability: https://bugs.php.net/fix.php?id=72041&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=72041&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=72041&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=72041&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=72041&r=mysqlcfg

« previous php.bugs (#200610) next »