|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58877 Error when trying to clone object
Submitted: 2009-10-03 18:27 UTC Modified: 2009-10-03 22:04 UTC
From: Assigned: iekpo (profile)
Status: Closed Package: solr (PECL)
PHP Version: 5_3 CVS-2009-10-03 (dev) OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
New email:
PHP Version: OS:


 [2009-10-03 18:27 UTC]
See below.

Reproduce code:
$ sapi/cli/php -r '$x = new solrclient(array()); $y = clone $x;'

Warning: Unknown: Invalid SolrClient Index 31253. HashTable index does not exist. in Unknown on line 0


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-10-03 19:32 UTC] israelekpo at gmail dot com
I am currently working on this.
 [2009-10-03 22:04 UTC] israelekpo at gmail dot com
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on

In case this was a website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PECL better.

This has been fixed in svn revision 289159.

SolrClient objects were never designed to be cloned.

A SolrIllegalOperation exception is now thrown whenever an attempt is made to clone a SolrClient instance.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Jan 28 07:03:38 2022 UTC