Hi, when viewing my page, I randomly got:

Undefined index: epsacrop-16-5 in epsacrop_crop_image() (line 341 of c:\xampp\htdocs\sites\all\modules\epsacrop\epsacrop.module).

Everything was already cropped - this was just viewing pages.

Thanks!

CommentFileSizeAuthor
#5 Lighthouse.jpg548.12 KBmumtazaiet

Comments

firfin’s picture

I don' t have this problem. Do you know a way to reproduce this behaviour?
What modules (and versions) are you using?
Have you seen http://drupal.org/node/73179 ?

Tim Jones Toronto’s picture

>Do you know a way to reproduce this behaviour?

No. Like I said, it was random when viewing a page (a Basic page) with the crop displayed in it.

>What modules (and versions) are you using?

It is 7.x-2.x-dev as specified at that date. It was running with the release version of Drupal 7 as of that date.

>Have you seen http://drupal.org/node/73179 ?

Yes. I was testing it with the version specified using the latest Drupal release with no other modules (a clean test).

I will keep testing for the error.

yvmarques’s picture

Status: Active » Needs review

Hi,

Committed a fix for that, it will be available after soon. Let me know if it fix the error.

Regards,

-- Yvan

yvmarques’s picture

Status: Needs review » Closed (fixed)
mumtazaiet’s picture

StatusFileSize
new548.12 KB

It is not cropping images. the message pops up.

Notice: Undefined index: epsacrop-5-4 in epsacrop_crop_image() (line 405 of C:\wamp\www\drupal\sites\default\modules\epsacrop\epsacrop.module).
Notice: Undefined index: epsacrop-13-5 in epsacrop_crop_image() (line 405 of C:\wamp\www\drupal\sites\default\modules\epsacrop\epsacrop.module).

milesw’s picture

Same error here. I have crops for two profiles on one image. The first crop renders properly with no errors. The second crop does not render and I see the above error.

milesw’s picture

I take it back, the images now showing up was a problem on my end. Not sure if there is actually a problem due to those PHP notices.

patoshi’s picture

im having the same errors.. how did you fix this?

dagomar’s picture

I have the same issue. Clean install of dev and drupal.

patoshi’s picture

that's not really a solution to do a full re-install..... would be good is someone fixed this same exact issue and let us know how you fixed it..

thanks!

delta’s picture

i have the same issue. I have it with the latest version of epsacrop and the patch http://drupal.org/node/1396500 combined.

To resolve it, be sure to enable all image_style that are used, in field_instance settings. Fix the problem on my side.

marcosmtz’s picture

Hello, I'm having the same issue but I'm running it on Drupal 7.22 and epsacrop-7.x-2.2, does someone know how to solve it? I'll apreciate it if you can help me. Thanks.

dagomar’s picture

I also had this problem in combination with #1396500: crop dialog not working when image style is in feature, I was able to patch that issue away (#21), but not sure if that is the same problem as here.