#1 July 4, 2014 7:24pm

jesse.glaves
Member
Registered: June 28, 2014
Posts: 124

Front-End Crop error

When I attempt to upload an image to a photo gallery that needs cropping through the front end "Edit Content" option, I get the following error:

Warning: Invalid argument supplied for foreach() in /var/www/html/core/admin/modules/pages/_front-end-crop.php on line 13

I do not get this error if I add the file through the backend, "Edit in Bigtree" option.

Thanks!

Offline

#2 July 6, 2014 6:49pm

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 974

Re: Front-End Crop error

I believe this issue should be fixed in the development branch via this commit:
https://github.com/bigtreecms/BigTree-C … 650c2d4be9

It should be rolled out with the 4.1.1 release which will *hopefully* be released this week. If it's an issue that's causing hang ups for you right now, you can grab the latest file here:
https://github.com/bigtreecms/BigTree-C … d-crop.php

It should work independently of any other 4.1.1 updates/fixes.

Offline

#3 July 8, 2014 2:30pm

jesse.glaves
Member
Registered: June 28, 2014
Posts: 124

Re: Front-End Crop error

The code worked perfectly by the way. Thanks Tim.

Offline

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.