|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-06-04 04:23 UTC] iekpo@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 22:00:01 2025 UTC |
Description: ------------ For Solr 3.1 version methos getResponse() returns the Fatal error: "Uncaught exception 'SolrException' with message 'Error un-serializing response' in /home/user/project/mySolr.php:77" Reproduce code: --------------- $solrQuery = new SolrQuery(); $solrQuery->setQuery($query); $config = array('host' => '127.0.0.1', 'port' => 8983); $solrClient = new SolrClient($config); $solrObject = $solrClient->query($solrQuery)->getResponse(); Expected result: ---------------- The correct SolrObject data Actual result: -------------- Fatal error: "Uncaught exception 'SolrException' with message 'Error un-serializing response' in /home/user/project/mySolr.php:77