custom_breadcrumbs give warning message when location / location_cck is installed
marcrobinsone - March 30, 2009 - 14:28
| Project: | Custom Breadcrumbs |
| Version: | 6.x-1.4 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
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

#1
The 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.
#2
Closing because of lack of response. Please reopen if this is still an issue.