Project:Service links
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (cannot reproduce)

Issue Summary

Hi,

i get following error:

* warning: array_filter() [function.array-filter]: The first argument should be an array in /home/pitsccbr/iuseknowhow.ecmpatterns.com/sites/all/modules/service_links/service_links.module on line 334.
* warning: array_filter() [function.array-filter]: The first argument should be an array in /home/pitsccbr/iuseknowhow.ecmpatterns.com/sites/all/modules/service_links/service_links.module on line 334.

I use the newest version of drupal and modules.

wr
paulap

Comments

#1

I'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.

#2

Subscribe. I am seeing this warning as well.

Drupal 6.14

#3

Can 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.

#4

I 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.

#5

the same :(
getting error in any setting I try.

#6

same error.

#7

Seems error is affecting just multilanguage setups. After leaving just 1 language - everything works fine.

#8

not 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

#9

I've created a patch that fixes the problem. I've just added some checks to make sure the variables are what they should be.

AttachmentSize
service_links_issue_594096.patch 1.25 KB

#10

#9 worked for me. Thanks!

#11

Status:active» closed (cannot reproduce)

cannot reproduce because was fixed in another way :P