Closed (fixed)
Project:
Custom Breadcrumbs
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Mar 2009 at 14:28 UTC
Updated:
30 Jul 2009 at 21:55 UTC
When I create a custom breadcrumb (as in any custom breadcrumb) I get the following error (on the content type with the custom breadcrumb):
warning: array_filter() [function.array-filter]: The first argument should be an array in W:\www\ drupal\sites\all\modules\location\contrib\location_cck\location_cck.module on line 385.
warning: array_keys() [function.array-keys]: The first argument should be an array in W:\www\drupal\sites\all\modules\location\contrib\location_cck\location_cck.module on line 385.
warning: Invalid argument supplied for foreach() in W:\www\one-earth.com.d6\sites\all\modules\location\location.module on line 1440.
With location 6.x-3.1-rc1 installed.
Any hints?
Cross-post for location api at http://drupal.org/node/418262
Comments
Comment #1
MGN commentedThe only connection that I have been able to make is that we have a variable called $location in custom_breadcrumbs_nodeapi - but its a local variable and not likely to be a problem. The errors seem pretty specific to location_cck.module. I would follow the bug through that module - what argument and what arrays do the errors correspond to? I don't have any experience with the location module, and I don't have the time to set up a test case, so you'll need to do the digging on this one. Post what you learn here and I'll try to help as I can.
Comment #2
MGN commentedClosing because of lack of response. Please reopen if this is still an issue.