Enable module - Invalid argument supplied for foreach() in field_attach_load()

Created on 28 January 2019, about 6 years ago
Updated 12 March 2025, 24 days ago

I've turned this module on a website and got given this error on everyt page visited.

Warning: Invalid argument supplied for foreach() in field_attach_load() (line 660 of /modules/field/field.attach.inc).

I turned on the devel module to inspect the issue. However the error message disappeared after enabling it. I guess it must have been some sort of cache issue. Up and till enabling a module, I couldn't flush the cache either.

As the website is in development I have no caching activated.

🐛 Bug report
Status

Closed: outdated

Component

Code

Created by

🇬🇧United Kingdom gMaximus

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024