Hi,
I am getting this error Division by zero in …/avia-shortcodes/helper-slideshow.php on line 47 on the forntpage of our site that uses the slider.
I recently applied the the following code fix to allow us to get around file upload size issue:
function ava_image_sizes() {
add_image_size(‘masonry’, 0, 0);
add_image_size(‘magazine’, 0, 0);
add_image_size(‘widget’, 0, 0);
add_image_size(‘featured’, 0, 0);
add_image_size(‘featured_large’, 0, 0);
add_image_size(‘extra_large’, 0, 0);
add_image_size(‘portfolio_small’, 0, 0);
add_image_size(‘gallery’, 0, 0);
add_image_size(‘entry_with_sidebar’, 0, 0);
add_image_size(‘entry_without_sidebar’, 0, 0);
add_image_size(‘square’, 0, 0);
}
add_action( ‘after_setup_theme’, ‘ava_image_sizes’, 11 );
Would this cause the issue?
Hey Arron!
try to remove the code to check if it’s caused by it.
Regards,
Andy
Yes that was the issue.
I guess I need to find another way around the upload limit.