Without the Media module installed, files rendered with Shadowbox will throw an 'undefined index' error at line 304 of file_shadowbox.module. The "type" index of the $item variable is inserted by the Media module. Thus, the error goes away once the Media module is installed. Consider using regex on the "filemime" index to scrub the type. (or, less palatably, make the Media module a dependency).

Comments

manfer’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

  • Commit 9c21b11 on 7.x-4.x, 8.x-1.x:
    Issue #1775224 by derek.deraps, manfer: fixed type index only with media...