|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59902 Unable to store SolrQuery in a session
Submitted: 2011-08-19 05:08 UTC Modified: 2016-04-11 11:53 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: Assigned:
Status: Not a bug Package: solr (PECL)
PHP Version: 5.3.6 OS: Debian
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:
New email:
PHP Version: OS:


 [2011-08-19 05:08 UTC]
its not possible to store a new SolrQuery() object in a session depends this on the Bug #17008 report because its not possible to clone an object?

Reproduce code:
$obj = new SolrQuery('Bar');
$_SESSION['test'] = $obj;

Expected result:
The object should be stored serialized in the session and should be restored on a next request

Actual result:
Warning: Unknown: Invalid SolrParams Index 8489. HashTable index does not exist. in Unknown on line 0 Warning: Unknown: Internal Error 1008 generated from /root/solr-1.0.1/solr_functions_helpers.c 220 solr_fetch_params_entry. The observed error is a possible side-effect of an illegal/unsupported operation in userspace. Please check the documentation and try again later. in Unknown on line 0 Warning: Unknown: Unable to serialize object in Unknown on line 0 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-04-11 11:53 UTC]
-Status: Open +Status: Not a bug
 [2016-04-11 11:53 UTC]
Unable to reproduce using supported versions, it has nothing to do with cloning it.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Dec 03 01:01:27 2023 UTC