Had been using: 7.x-1.x-dev (2011-May-30) for a while on a site for an overlay, Upgraded to 1.1 and the overlay no longer worked. And trying to edit the overlay or create a new one causes this fatal error:

Call to undefined function image_overlay()

revert back to 1.x from may 2011 and overlay works again.

Comments

fietserwin’s picture

Thanks for reporting. In which file, function and linenumber do you get this fatal error? If I look at all occurrences of image_overlay in the module code this should not lead to a fatal error (and it indeed doesn't on my install).

dman’s picture

Status: Active » Postponed (maintainer needs more info)

Sounds bad, but more detail needed to replicate.
Visually tracing the code path, It's currently not possible for a call to image_overlay to be made without including the image_overlay.inc file that defines it, so it's hard to imagine this problem - unless you are using customactions and your own code?

I suspect that a cache clear may have solved this.

fietserwin’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

No reply for several months: closing. Feel free to reopen if you still get this error and can produce more information.

dunot’s picture

Issue summary: View changes

This happens when there is no imagecache_actions/image_overlay.inc file in module` folder.