Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Warning: Division by zero in Drupal\advagg\Asset\SingleAssetOptimizerBase->isMinificationSuccess() (line 129 of modules/contrib/advagg/src/Asset/SingleAssetOptimizerBase.php
Comment | File | Size | Author |
---|---|---|---|
#4 | advagg-3023962-4.patch | 586 bytes | Snehal Brahmbhatt |
Comments
Comment #2
Nelo_Drup CreditAttribution: Nelo_Drup commentedI have the same problem the CSS is lost drupal version 8.6.7
Comment #3
CProfessionals CreditAttribution: CProfessionals commentedSame warning appearing here, although it dies not seem to be affecting site performance.
PHP 7.1.20
Drupal 8.6.1
AdvAgg 8.x-3.5
Comment #4
Snehal Brahmbhatt CreditAttribution: Snehal Brahmbhatt at AddWeb Solution Pvt. Ltd. commentedHere's the patch that resolves the same issue mentioned above, I have added the condition to check the original content length before dividing it.
Thanks!..
Comment #5
apadernoBugs are fixed on Git branches (i.e., development snapshots).
Comment #7
thallesThanks @all!
Fixed on branch dev.
Comment #8
thallesComment #9
thalles