- πΊπΈUnited States hargobind Austin, Texas
I just ran into this as well.
With no image file, a PHP error was being thrown during the AJAX request for
https://www.example.com/scald/library_dndWarning: array_flip(): Can only flip string and integer values, entry skipped in array_flip() (line 175 of /includes/entity.inc).
Or, if you have the Entity cache module enabled, this error will appear instead:
Warning: array_flip(): Can only flip string and integer values, entry skipped in array_flip() (line 84 of /sites/all/modules/entitycache/includes/entitycache.entitycachecontrollerhelper.inc).
And another error in the scald_image provider module:
Warning: Attempt to read property "uri" on bool in scald_image_scald_fetch() (line 205 of /sites/all/modules/scald/modules/providers/scald_image/scald_image.module).
Those errors were causing the Scald sidebar DND panel to not load on my site.
Requiring the
scald_thumbnail
field seems like the recommended approach in my tests.