Closed (cannot reproduce)
Project:
Service links
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Oct 2009 at 12:04 UTC
Updated:
28 Oct 2010 at 09:37 UTC
Jump to comment: Most recent file
Comments
Comment #1
Andreas Radloff commentedI'm also having this problem. drupal 6.14. Locale enabled as well as pathauto. Can't imagine any other modules I have enabled that would matter?
warning: array_filter() [function.array-filter]: The first argument should be an array in XXXXX/public_html/sites/all/modules/service_links/service_links.module on line 334.
Comment #2
robertjd commentedSubscribe. I am seeing this warning as well.
Drupal 6.14
Comment #3
robertjd commentedCan you tell us what services you have selected to show at admin/settings/service_links/services
I had no services selected to show, though all the services were showing up on nodes (i started a bug report on that here http://drupal.org/node/605628).
After having selected only the services I want, only those services are now showing on nodes and this warning has gone away.
Comment #4
jeff veit commentedI have this error too.
I have Delicious, Digg, Reddit, Facebook & Yahoo ticked.
I don't have any Search links ticked.
Service Links in Links is Disabled.
Service Links in Nodes is set to Full-page view
Service Links style is set to Image.
Comment #5
playfulwolf commentedthe same :(
getting error in any setting I try.
Comment #6
superfedya commentedsame error.
Comment #7
playfulwolf commentedSeems error is affecting just multilanguage setups. After leaving just 1 language - everything works fine.
Comment #8
mrandy commentednot so sure about the multilanguage thing as I am running just in English with no other languages enabled at all, but getting:
warning: array_filter() [function.array-filter]: The first argument should be an array in /public_html/modules/service_links/service_links.module on line 336.
I am assuming this is the same error as above.
Andy
Comment #9
aacraig commentedI've created a patch that fixes the problem. I've just added some checks to make sure the variables are what they should be.
Comment #10
benmmc commented#9 worked for me. Thanks!
Comment #11
TheCrow commentedcannot reproduce because was fixed in another way :P