|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
15 + 48 = ?
Subscribe to this entry?

 [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: Tue Jan 25 06:03:33 2022 UTC