I need to file this question elsewhere. I don’t believe it to be a Scissors issue since the Media library reads 0x0, too. I’ve been trying to look into the image_make_intermediate_size function.. but I thought generate_attachment_metadata was supposed to cover it.
Had the file path wrong – it would insert the attachment, but update_attachment_metadata would fail (which then failed to generate thumbnails or update the width/height records, causing the division by zero.)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘[Plugin: Scissors] wp_insert_attachment & Division by Zero’ is closed to new replies.