Closed (duplicate)
Project:
Faceted Search
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
30 Sep 2009 at 09:56 UTC
Updated:
5 Jul 2013 at 20:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
larskleiner commentedI got the same warnings since I started to use PHP 5.3 on Snow Leopard (instead of MAMP - PHP 5.2.6). They will go away once you remove the '&' from the function signatures though I'm not sure about side effects.
PHP 5.3 support for Drupal 6 core is currently in the works (360605: PHP 5.3 Compatibility).
Comment #2
avpadernoThe first three warning messages could be caused by PHP 5.3, but I am not sure the other error messages are related with the version of PHP used.
Comment #3
infojunkieI think the remaining messages are related to the fact that some indexes are not set when the initial 3 functions fail to execute due to PHP 5.3 constraints.
Comment #4
Anonymous (not verified) commentedThanks @larskleiner, removing the ampersand does the trick!
Comment #5
EvanDonovan commentedIf this is PHP 5.3 related, then it should be retested with #700466: PHP 5.3 issues applied.
Comment #6
ragavendra_bn commented3 main fixes done to work on PHP5.3 without warnings. Not sure if any side effects
changed to
function faceted_search_ui_faceted_search_query_alter($search, $query)
function faceted_search_ui_faceted_search_init($env)
function content_type_facet_faceted_search_init($env)
Comment #7
batje commentedAttached 2 patches to solve 3 issues.
Comment #8
botrisApplied both patches, solves most errors, but
# warning: Parameter 1 to author_facet_faceted_search_init() expected to be a reference, value given in /Applications/MAMP/htdocs/brightlinq/includes/module.inc on line 483.
Stays
Comment #9
brycesenz commentedSubscribing. Both patches worked for me, but I don't know if these patches would cause problems for other versions of PHP.
Comment #10
petebarnett commentedThis is because
module_invoke_all()doesn't support references. It should be up to faceted_search.module to manually invoke the hook instead, as per http://api.drupal.org/api/drupal/includes--module.inc/function/module_in...Comment #11
david lesieur commented#700466: PHP 5.3 issues should have fixed these issues.