Apache lots of error imagecrop.php
Support Forum » Maximalist WordPress Theme
4 years agoHello stolas,
please replace imagecrop.php file content with this code. After that please send me access to your WP admin in email, also mail the page URL, where this image caused this issue.
4 years agoDid this ever get figured out or fixed? My images aren't 2000px like one poster mentioned.
4 years agoI have this same error showing, and causing the error log to get as high as 22GB over night crashing the server.
This is what I get from Media Temple:
The error returns: Division by zero in /var/www/vhosts/stolaas.com/stolaswatchblog/wp-content/themes/maximalist/framework/includes/imagecrop.php on line 68
12:30 pm When I look at that file line, I get the following:
$resizeheight = ($height/$width)*$resizewidth;
I think the math may be wrong in this equation, which is causing the eror.
4 years agoSo that was the issue, OK. :)
4 years agoAll Solved, Thanks!
The problem is resolution of image too large up to 2000px .
4 years agoanother error
PHP Notice: Undefined offset: 1 in /var/www/vhosts/xx.it/httpdocs/wp-content/themes/tradico/framework/includes/imagecrop.php on line 28
4 years agoHello j.kay and thank you for choosing my theme. It seems there is a problem with the image processing part. Please send me access to your WP admin in email and I'll have a look what's wrong.
4 years agoExact error in apache log is:
PHP Warning: Division by zero in /var/www/vhosts/tradico.it/httpdocs/wp-content/themes/tradico/framework/includes/imagecrop.php on line 69,
4 years agoplease?
4 years agoHi i have on my plesk 10 Vps php 5.3 a lots of error in infinite loop in error.log
error log :
PHP Warning: wp-content/themes/maximalist/framework/includes/imagecrop.php on line 69
Please help me!