I am suddenly getting tons of this error in my log:
Warning: Invalid argument supplied for foreach() in SearchApiAttachmentsEntityreferenceAlterSettings->alterItems() (line 44 of /modules/contrib/search_api_attachments/contrib/search_api_attachments_entityreference/includes/callback_attachments_entityreference_settings.inc).

Comments

NancyDru created an issue. See original summary.

cbeier’s picture

Project: Search File Attachments » Search API attachments

I think you have created the issue for the wrong module. Move to Search API attachments.

nancydru’s picture

Priority: Normal » Major

This is happening so much I am going to have to disable the module.

izus’s picture

Status: Active » Needs review
StatusFileSize
new992 bytes

hi NancyDru,
does the following patch solve it for you ?
Thanks

nancydru’s picture

So far it seems to, but I will keep my eye on it.

nancydru’s picture

Status: Needs review » Reviewed & tested by the community

So far no more messages.

izus’s picture

Status: Reviewed & tested by the community » Fixed

Thanks,
this is now merged

  • izus committed ed5d21d on 7.x-1.x
    Issue #2644030 by izus, NancyDru: Warning: Invalid argument supplied for...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.